From 80a10450bccbb108d7d6daf724df2506b4ab3ade Mon Sep 17 00:00:00 2001 From: Alpha Date: Tue, 20 Feb 2018 00:49:09 +0100 Subject: [PATCH] =?UTF-8?q?=C3=A4nderung=20von=20port=2080=20auf=208080?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 9bbbe5c..fcca2ff 100644 --- a/index.js +++ b/index.js @@ -11,7 +11,7 @@ var url = 'http://192.168.178.109:1024/' // Host the HTML File app.get('/', function(req, res){ - //name, class, experience, gold, level + //name, class, experience, gold, level request({ url: url, json: true, @@ -31,7 +31,7 @@ app.get('/', function(req, res){ console.log(el.class) }) - + // res.sendFile(__dirname + '/views/index.html'); res.render('index') } else console.error('HTTP ERROR ' + response.statusCode + '') @@ -42,4 +42,4 @@ app.get('/assets/*', function(req, res){ res.sendFile(__dirname + req.originalUrl) }) -app.listen(80) \ No newline at end of file +app.listen(8080)