Merge branch 'master' of https://bitbucket.org/cliffbreak/shakes-fidget
This commit is contained in:
commit
556e9af55d
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