änderung von port 80 auf 8080
This commit is contained in:
parent
d4fe5c05f3
commit
80a10450bc
1 changed files with 3 additions and 3 deletions
6
index.js
6
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)
|
||||
app.listen(8080)
|
||||
|
|
Reference in a new issue