Compare commits

..

No commits in common. "50fa0e3f629b55485b9fb12c7e6cae20991869e4" and "9ed67992a1d45929160f1915eedfd1fd3d36b94d" have entirely different histories.

2 changed files with 1 additions and 11 deletions

View file

@ -47,6 +47,4 @@ 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!

View file

@ -8,6 +8,7 @@ module.exports = {
// specialCode: '' // specialCode: ''
// } // }
//}, //},
corsAllowList: [ 'localhost' ],
mongoUrl: 'mongodb://localhost:27017/app', mongoUrl: 'mongodb://localhost:27017/app',
bcryptRounds: 10, bcryptRounds: 10,
roleMap: { roleMap: {
@ -19,12 +20,3 @@ module.exports = {
}, },
gatewayStillNotConnectedTimeoutMS: 15*1000 gatewayStillNotConnectedTimeoutMS: 15*1000
}; };
module.exports.corsAllowList = [
// Allow the normal web interface
`http://${module.exports.address}:${module.exports.ports.mainServerPort}`,
`https://${module.exports.address}:${module.exports.ports.mainServerPort}`,
// Allow brainet-react
`http://${module.exports.address}:3000`,
`https://${module.exports.address}:3000`
];