25 lines
611 B
JavaScript
Executable file
25 lines
611 B
JavaScript
Executable file
module.exports = {
|
|
ports: {
|
|
mainServerPort: 3005,
|
|
},
|
|
address: "localhost",
|
|
//restrictions: {
|
|
// signup: {
|
|
// specialCode: ''
|
|
// }
|
|
//},
|
|
corsAllowList: [ "http://localhost:3000", "http://localhost:3005" ],
|
|
mongoUrl: "mongodb://192.168.0.105:27017/app",
|
|
|
|
// Internal stuff - only touch if you know what you're doing
|
|
bcryptRounds: 10,
|
|
roleMap: {
|
|
"BANNED": 0,
|
|
"RESTRICTED": 1,
|
|
"USER": 2,
|
|
"BOT": 3,
|
|
"ADMIN": 4
|
|
},
|
|
gatewayStillNotConnectedTimeoutMS: 15*1000,
|
|
gatewayMaxStringPayloadLength:
|
|
};
|