diff --git a/server.js b/server.js index f568ea2..cca124b 100644 --- a/server.js +++ b/server.js @@ -9,7 +9,8 @@ var cookieParser = require('cookie-parser'); // Application ================================================================ -var port = process.env.PORT || 8080; +var config = require('./config/config.js'); +var port = process.env.PORT || config.port; // Connection à la BDD var db = require('./config/db'); -- libgit2 0.21.2