Startcommand for serving index page and change port.

This commit is contained in:
2020-01-17 14:02:03 +01:00
parent a98c8d6131
commit 11aba3556f
2 changed files with 3 additions and 2 deletions

View File

@@ -4,7 +4,8 @@
"description": "",
"main": "server.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node server.js"
},
"author": "",
"license": "ISC",

View File

@@ -6,4 +6,4 @@ app.get('/', function(req, res) {
res.sendFile(path.join(__dirname + '/index.html'));
});
app.listen(30020);
app.listen(30030);