From 8bb2a3d1e4f1b4c331f39ba0d0eb2124e48803a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Dahlgren?= Date: Fri, 16 Jan 2015 22:50:52 +0100 Subject: [PATCH] Set web app port in config --- app.js | 2 +- config.js.example | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 };