2015-06-03 00:27:02 +00:00
|
|
|
{
|
|
|
|
"initial:before": {
|
2015-08-04 08:25:34 +00:00
|
|
|
"loopback#favicon": {
|
|
|
|
"params": "$!../public/favicon.ico"
|
2015-08-19 18:28:14 +00:00
|
|
|
},
|
|
|
|
"loopback#static": {
|
|
|
|
"params": [
|
|
|
|
"$!../public",
|
|
|
|
{
|
|
|
|
"maxAge": "86400000"
|
|
|
|
}
|
|
|
|
]
|
2015-08-04 08:25:34 +00:00
|
|
|
}
|
2015-06-03 00:27:02 +00:00
|
|
|
},
|
|
|
|
"initial": {
|
2015-08-04 08:25:34 +00:00
|
|
|
"compression": {},
|
|
|
|
"morgan": {
|
2018-05-15 13:56:26 +00:00
|
|
|
"params": ":date[iso] :status :method :response-time ms - :url"
|
2017-05-05 07:30:42 +00:00
|
|
|
},
|
|
|
|
"cors": {
|
|
|
|
"params": {
|
|
|
|
"origin": true,
|
|
|
|
"credentials": true,
|
|
|
|
"maxAge": 86400
|
|
|
|
}
|
2015-08-04 08:25:34 +00:00
|
|
|
}
|
2015-06-03 00:27:02 +00:00
|
|
|
},
|
|
|
|
"session": {
|
2015-08-04 08:25:34 +00:00
|
|
|
"./middlewares/sessions.js": {}
|
|
|
|
},
|
|
|
|
"auth:before": {
|
2018-05-24 11:19:51 +00:00
|
|
|
"./middlewares/add-return-to": {},
|
|
|
|
"./middlewares/cookie-parser": {},
|
2019-02-20 23:05:31 +00:00
|
|
|
"./middlewares/request-authorization": {}
|
2015-06-03 00:27:02 +00:00
|
|
|
},
|
|
|
|
"parse": {
|
2015-08-04 08:25:34 +00:00
|
|
|
"body-parser#json": {},
|
|
|
|
"body-parser#urlencoded": {
|
2016-03-12 05:47:26 +00:00
|
|
|
"params": {
|
|
|
|
"extended": true
|
|
|
|
}
|
2015-08-04 08:25:34 +00:00
|
|
|
},
|
2018-05-24 11:19:51 +00:00
|
|
|
"method-override": {}
|
2015-08-04 08:25:34 +00:00
|
|
|
},
|
|
|
|
"parse:after": {
|
|
|
|
"./middlewares/validator": {}
|
|
|
|
},
|
|
|
|
"routes:before": {
|
2018-01-10 01:12:58 +00:00
|
|
|
"./middlewares/express-extensions": {},
|
2015-08-04 08:25:34 +00:00
|
|
|
"express-flash": {},
|
|
|
|
"helmet#xssFilter": {},
|
|
|
|
"helmet#noSniff": {},
|
|
|
|
"helmet#frameguard": {},
|
2016-05-03 00:22:56 +00:00
|
|
|
"./middlewares/csurf": {},
|
2015-08-04 08:25:34 +00:00
|
|
|
"./middlewares/constant-headers": {},
|
|
|
|
"./middlewares/csp": {},
|
2017-12-28 01:34:56 +00:00
|
|
|
"./middlewares/flash-cheaters": {},
|
2018-05-27 11:59:04 +00:00
|
|
|
"./middlewares/passport-login": {},
|
2019-10-07 19:49:05 +00:00
|
|
|
"./middlewares/email-not-verified-notice": {}
|
2015-06-03 00:27:02 +00:00
|
|
|
},
|
2016-03-12 05:47:26 +00:00
|
|
|
"files": {},
|
2015-06-03 00:27:02 +00:00
|
|
|
"final:after": {
|
2017-07-13 18:39:07 +00:00
|
|
|
"./middlewares/error-reporter": {},
|
2017-05-05 07:24:33 +00:00
|
|
|
"./middlewares/error-handlers": {},
|
|
|
|
"strong-error-handler": {
|
|
|
|
"params": {
|
2017-12-29 16:40:20 +00:00
|
|
|
"debug": false,
|
|
|
|
"log": true
|
|
|
|
}
|
2017-05-05 07:24:33 +00:00
|
|
|
}
|
2015-06-03 00:27:02 +00:00
|
|
|
}
|
|
|
|
}
|