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)