Skip to content

Commit

Permalink
add console.log for SSL server
Browse files Browse the repository at this point in the history
  • Loading branch information
Edit-Mr committed Feb 18, 2024
1 parent f1cdbe3 commit 34baa17
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,5 @@ function getFileExtension(filename) {

var credentials = { key: privateKey, cert: certificate };
var httpsServer = https.createServer(credentials, app);
httpsServer.listen(443, () => {
console.log(`Server is running on http://localhost:${PORT}`);
});
httpsServer.listen(443);
console.log("embox Server running on port 443");

0 comments on commit 34baa17

Please sign in to comment.