Query using localhost instead of external ip

This commit is contained in:
Björn Dahlgren 2014-11-24 01:56:31 +01:00
parent 48e2655bff
commit 975059d484
2 changed files with 1 additions and 3 deletions

View File

@ -1,7 +1,6 @@
var events = require('events');
var fs = require('fs');
var gamedig = require('gamedig');
var ip = require('ip');
var spawn = require('child_process').spawn;
var config = require('./config');
@ -49,7 +48,7 @@ Server.prototype.queryStatus = function() {
Gamedig.query(
{
type: 'arma3',
host: ip.address(),
host: '127.0.0.1',
port: self.port,
},
function(state) {

View File

@ -11,7 +11,6 @@
"express": "3.x",
"express-resource": "~1.0.0",
"gamedig": "^0.2.11",
"ip": "^0.3.2",
"playwithsix": "0.0.6",
"slug": "~0.4.0",
"socket.io": "^1.0.4",