4
1
Fork 0

änderung von port 80 auf 8080

This commit is contained in:
Alpha 2018-02-20 00:49:09 +01:00
parent d4fe5c05f3
commit 80a10450bc

View file

@ -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)
app.listen(8080)