1
0
Fork 0
forked from suyu/website

don't run stuff as root???

This commit is contained in:
not-nullptr 2024-03-08 22:13:52 +00:00
parent e4396aa404
commit 131cd3f1bb

View file

@ -13,8 +13,8 @@ const app = express();
const httpServer = http.createServer(app); const httpServer = http.createServer(app);
const httpsServer = https.createServer(credentials, app); const httpsServer = https.createServer(credentials, app);
const PORT = 80; const PORT = 3000;
const SSLPORT = 443; const SSLPORT = 3001;
httpServer.listen(PORT, function () { httpServer.listen(PORT, function () {
console.log("HTTP Server is running on: http://localhost:%s", PORT); console.log("HTTP Server is running on: http://localhost:%s", PORT);