22 lines
493 B
JavaScript
Executable file
22 lines
493 B
JavaScript
Executable file
module.exports = {
|
|
ports: {
|
|
mainServerPort: 3005,
|
|
},
|
|
address: 'localhost',
|
|
//restrictions: {
|
|
// signup: {
|
|
// specialCode: ''
|
|
// }
|
|
//},
|
|
corsAllowList: [ 'localhost' ],
|
|
mongoUrl: 'mongodb://192.168.0.105:27017/app',
|
|
bcryptRounds: 10,
|
|
roleMap: {
|
|
'BANNED': 0,
|
|
'RESTRICTED': 1,
|
|
'USER': 2,
|
|
'BOT': 3,
|
|
'ADMIN': 4
|
|
},
|
|
gatewayStillNotConnectedTimeoutMS: 15*1000
|
|
};
|