brainlet/config.js

23 lines
493 B
JavaScript
Raw Normal View History

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' ],
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,
'BOT': 3,
'ADMIN': 4
},
gatewayStillNotConnectedTimeoutMS: 15*1000
2020-12-06 15:18:32 +02:00
};