diff --git a/app.js b/app.js index b28d970..d8f8584 100644 --- a/app.js +++ b/app.js @@ -37,4 +37,4 @@ manager.on('servers', function() { io.emit('servers', manager.getServers()); }); -server.listen(3000); +server.listen(config.port); diff --git a/config.js.example b/config.js.example index a1ec59e..166eb06 100644 --- a/config.js.example +++ b/config.js.example @@ -1,4 +1,5 @@ module.exports = { path: 'path-to-arma3-directory', + port: 3000, type: 'linux', // Can be either linux, windows or wine };