forked from suyu/website
don't run stuff as root???
This commit is contained in:
parent
e4396aa404
commit
131cd3f1bb
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue