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": "", "description": "",
"main": "server.js", "main": "server.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1",
"start": "node server.js"
}, },
"author": "", "author": "",
"license": "ISC", "license": "ISC",

View File

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