forked from hippoz/brainlet
hopefully merge
This commit is contained in:
commit
e41a04999c
2 changed files with 9 additions and 7 deletions
|
@ -47,4 +47,6 @@ Just run Brainlet with the command below:
|
||||||
node index.js
|
node index.js
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Afterwards, try going [here](http://localhost:3005/auth.html) to visit the site.
|
||||||
|
|
||||||
Good luck!
|
Good luck!
|
||||||
|
|
14
config.js
14
config.js
|
@ -2,20 +2,20 @@ module.exports = {
|
||||||
ports: {
|
ports: {
|
||||||
mainServerPort: 3005,
|
mainServerPort: 3005,
|
||||||
},
|
},
|
||||||
address: "localhost",
|
address: 'localhost',
|
||||||
//restrictions: {
|
//restrictions: {
|
||||||
// signup: {
|
// signup: {
|
||||||
// specialCode: ''
|
// specialCode: ''
|
||||||
// }
|
// }
|
||||||
//},
|
//},
|
||||||
mongoUrl: "mongodb://localhost:27017/app",
|
mongoUrl: 'mongodb://localhost:27017/app',
|
||||||
bcryptRounds: 10,
|
bcryptRounds: 10,
|
||||||
roleMap: {
|
roleMap: {
|
||||||
"BANNED": 0,
|
'BANNED': 0,
|
||||||
"RESTRICTED": 1,
|
'RESTRICTED': 1,
|
||||||
"USER": 2,
|
'USER': 2,
|
||||||
"BOT": 3,
|
'BOT': 3,
|
||||||
"ADMIN": 4
|
'ADMIN': 4
|
||||||
},
|
},
|
||||||
gatewayStillNotConnectedTimeoutMS: 15*1000
|
gatewayStillNotConnectedTimeoutMS: 15*1000
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue