mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-30 21:03:58 -05:00
* fix(models.user): Colocate all user methods Moved user methods/extensions into one file. Tracked down `next method called more than once` error and setting headers after their sent. Let regular error handler handle api errors as well. * feat(server.auth): Disable github account creation We are no longer allowing account creation through github * refactor(Auth): Move user identity link into models dir * feat(Disable link account login): This removes the ability to use a linked account t * feat(errorhandlers): Add opbeat, filter out handled error
29 lines
484 B
JSON
29 lines
484 B
JSON
{
|
|
"restApiRoot": "/api",
|
|
"host": "127.0.0.1",
|
|
"port": 3000,
|
|
"legacyExplorer": false,
|
|
"remoting": {
|
|
"context": {
|
|
"enableHttpContext": false
|
|
},
|
|
"rest": {
|
|
"handleErrors": false,
|
|
"normalizeHttpPath": false,
|
|
"xml": false
|
|
},
|
|
"json": {
|
|
"strict": false,
|
|
"limit": "100kb"
|
|
},
|
|
"urlencoded": {
|
|
"extended": true,
|
|
"limit": "100kb"
|
|
},
|
|
"cors": {
|
|
"origin": true,
|
|
"credentials": true
|
|
}
|
|
}
|
|
}
|