mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-03 04:29:40 +00:00
chore: Set extended option for bodyParser
See
3f1b022477/lib/types/urlencoded.js (L41-L44)
This commit is contained in:
parent
41b961004a
commit
2477507b2e
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ if (cores!==0 && cluster.isMaster && (isDev || isProd)) {
|
|||
var redirects = require('./middlewares/redirects');
|
||||
oldApp.use(redirects.forceHabitica);
|
||||
oldApp.use(redirects.forceSSL);
|
||||
oldApp.use(bodyParser.urlencoded());
|
||||
oldApp.use(bodyParser.urlencoded({ extended: true }));
|
||||
oldApp.use(bodyParser.json());
|
||||
oldApp.use(require('method-override')());
|
||||
//oldApp.use(express.cookieParser(nconf.get('SESSION_SECRET')));
|
||||
|
|
|
|||
Loading…
Reference in a new issue