1 parent f7c341a commit 4b29bd5Copy full SHA for 4b29bd5
1 file changed
server/app.js
@@ -51,7 +51,7 @@ if (process.env.NODE_ENV === 'production') {
51
https.createServer({
52
key: fs.readFileSync(process.env.SSL_KEY_PATH),
53
cert: fs.readFileSync(process.env.SSL_CERT_PATH)
54
- }).listen(process.env.HTTPS_PORT, () => {
+ }, app).listen(process.env.HTTPS_PORT, () => {
55
console.log(`API is running on: http://localhost:${process.env.HTTPS_PORT}`);
56
});
57
} else {
0 commit comments