mirror of
https://github.com/Dahlgren/arma-server-web-admin.git
synced 2024-08-30 17:22:10 +00:00
Query using localhost instead of external ip
This commit is contained in:
parent
48e2655bff
commit
975059d484
@ -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) {
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user