Add port to config

master
kts of kettek (POWERQWACK) 2021-05-18 02:51:47 -07:00
parent 3406d9c43f
commit 366c1c0690
1 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@ const app = {
config: {
srd: 'srd',
plugins: {},
port: 7331,
},
live: {
dictionary: {},
@ -96,7 +97,7 @@ try {
}
/* ==== CMDLINE ============================================================= */
const port = 7331
const port = app.config.port
process.argv.forEach((val, index, array) => {
let parts = val.split('=')
let key = ''