Clean
This commit is contained in:
parent
88193061fa
commit
9426286791
1 changed files with 0 additions and 2 deletions
2
index.js
2
index.js
|
@ -6,12 +6,10 @@ var exphbs = require('express-handlebars')
|
||||||
app.engine('.hbs', exphbs({defaultLayout: 'single', extname: '.hbs'}))
|
app.engine('.hbs', exphbs({defaultLayout: 'single', extname: '.hbs'}))
|
||||||
app.set('view engine', '.hbs')
|
app.set('view engine', '.hbs')
|
||||||
|
|
||||||
|
|
||||||
var url = 'http://192.168.178.109:1024/'
|
var url = 'http://192.168.178.109:1024/'
|
||||||
|
|
||||||
// Host the HTML File
|
// Host the HTML File
|
||||||
app.get('/', function(req, res){
|
app.get('/', function(req, res){
|
||||||
//name, class, experience, gold, level
|
|
||||||
request({
|
request({
|
||||||
url: url,
|
url: url,
|
||||||
json: true,
|
json: true,
|
||||||
|
|
Reference in a new issue