Make port a constant

This commit is contained in:
Girish Ramakrishnan
2019-07-25 15:43:51 -07:00
parent b03bf87b7d
commit 12eae1eff2
25 changed files with 45 additions and 32 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ var async = require('async'),
settingsdb = require('../../settingsdb.js'),
superagent = require('superagent');
const SERVER_URL = 'http://localhost:' + config.get('port');
const SERVER_URL = 'http://localhost:' + constants.PORT;
const USERNAME = 'superadmin', PASSWORD = 'Foobar?1337', EMAIL ='silly@me.com';