a
This commit is contained in:
parent
576b2e92fe
commit
fac4a15175
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue