2020-10-05 20:36:03 +03:00
|
|
|
module.exports = {
|
|
|
|
ports: {
|
2020-12-07 23:26:32 +02:00
|
|
|
mainServerPort: 3005,
|
2020-10-05 20:36:03 +03:00
|
|
|
},
|
2021-01-20 03:20:48 +02:00
|
|
|
address: 'localhost',
|
|
|
|
//restrictions: {
|
|
|
|
// signup: {
|
|
|
|
// specialCode: ''
|
|
|
|
// }
|
|
|
|
//},
|
|
|
|
corsAllowList: [ 'localhost' ],
|
2020-12-05 19:10:11 +02:00
|
|
|
mongoUrl: 'mongodb://192.168.0.105:27017/app',
|
2020-10-05 20:36:03 +03:00
|
|
|
bcryptRounds: 10,
|
|
|
|
roleMap: {
|
|
|
|
'BANNED': 0,
|
|
|
|
'RESTRICTED': 1,
|
|
|
|
'USER': 2,
|
2020-12-05 19:10:11 +02:00
|
|
|
'BOT': 3,
|
|
|
|
'ADMIN': 4
|
2020-11-16 21:16:25 +02:00
|
|
|
},
|
|
|
|
gatewayStillNotConnectedTimeoutMS: 15*1000
|
2020-12-06 15:18:32 +02:00
|
|
|
};
|