Set web app port in config

This commit is contained in:
Björn Dahlgren 2015-01-16 22:50:52 +01:00
parent 33c88f3838
commit 8bb2a3d1e4
2 changed files with 2 additions and 1 deletions

2
app.js
View File

@ -37,4 +37,4 @@ manager.on('servers', function() {
io.emit('servers', manager.getServers());
});
server.listen(3000);
server.listen(config.port);

View File

@ -1,4 +1,5 @@
module.exports = {
path: 'path-to-arma3-directory',
port: 3000,
type: 'linux', // Can be either linux, windows or wine
};