mirror of
https://github.com/Dahlgren/arma-server-web-admin.git
synced 2024-08-30 17:22:10 +00:00
Merge pull request #11 from NemesisRE/master
Added possibility for listen address
This commit is contained in:
commit
1f3f2d605a
@ -22,6 +22,7 @@ Key | Description
|
||||
game | Which game server to launch, see above
|
||||
path | Folder path to game server
|
||||
port | Web port to use
|
||||
host | IP or Hostname to listen on
|
||||
type | Which kind of server to use, can be 'linux', 'windows' or 'wine'
|
||||
|
||||
## How to Use
|
||||
|
2
app.js
2
app.js
@ -50,4 +50,4 @@ manager.on('servers', function() {
|
||||
io.emit('servers', manager.getServers());
|
||||
});
|
||||
|
||||
server.listen(config.port);
|
||||
server.listen(config.port,config.host);
|
||||
|
@ -2,5 +2,6 @@ module.exports = {
|
||||
game: 'arma3', // arma3, arma2oa, arma2, arma1, cwa, ofpresistance, ofp
|
||||
path: 'path-to-arma3-directory',
|
||||
port: 3000,
|
||||
host: '0.0.0.0', // Can be either an IP or a Hostname
|
||||
type: 'linux', // Can be either linux, windows or wine
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user