Compare commits
No commits in common. "e4d898a2ff0cb28f063a90832b2d97fa57957228" and "3406d9c43ff059d83422eec04886b22e9863de55" have entirely different histories.
e4d898a2ff
...
3406d9c43f
4
index.js
4
index.js
|
@ -16,7 +16,6 @@ const app = {
|
||||||
config: {
|
config: {
|
||||||
srd: 'srd',
|
srd: 'srd',
|
||||||
plugins: {},
|
plugins: {},
|
||||||
port: 7331,
|
|
||||||
},
|
},
|
||||||
live: {
|
live: {
|
||||||
dictionary: {},
|
dictionary: {},
|
||||||
|
@ -97,7 +96,7 @@ try {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ==== CMDLINE ============================================================= */
|
/* ==== CMDLINE ============================================================= */
|
||||||
const port = app.config.port
|
const port = 7331
|
||||||
process.argv.forEach((val, index, array) => {
|
process.argv.forEach((val, index, array) => {
|
||||||
let parts = val.split('=')
|
let parts = val.split('=')
|
||||||
let key = ''
|
let key = ''
|
||||||
|
@ -125,7 +124,6 @@ const server = exp.listen(port, async () => {
|
||||||
console.error('plugin', err)
|
console.error('plugin', err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log('running on', port)
|
|
||||||
})
|
})
|
||||||
|
|
||||||
process.on('SIGINT', () => {
|
process.on('SIGINT', () => {
|
||||||
|
|
Loading…
Reference in New Issue