This commit is contained in:
Xargana 2025-03-27 09:51:24 +03:00
parent 576b2e92fe
commit fac4a15175

View file

@ -57,6 +57,10 @@ const sslOptions = {
};
// Start HTTPS Server
try {
https.createServer(sslOptions, app).listen(PORT, () => {
console.log(`API running at https://localhost:${PORT}`);
});
} catch (e) {
console.error("Error starting server:", e);
}