2016-11-09 12:12:59 +00:00
|
|
|
{
|
|
|
|
"initial:before": {
|
|
|
|
"loopback#favicon": {}
|
|
|
|
},
|
|
|
|
"initial": {
|
|
|
|
"compression": {},
|
|
|
|
"./middleware/cors": {},
|
|
|
|
"helmet#xssFilter": {},
|
|
|
|
"helmet#frameguard": {
|
|
|
|
"params": [
|
|
|
|
"deny"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"helmet#hsts": {
|
|
|
|
"params": {
|
|
|
|
"maxAge": 0,
|
|
|
|
"includeSubdomains": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"helmet#hidePoweredBy": {},
|
|
|
|
"helmet#ieNoOpen": {},
|
|
|
|
"helmet#noSniff": {},
|
|
|
|
"helmet#noCache": {
|
|
|
|
"enabled": false
|
2017-06-01 11:52:13 +00:00
|
|
|
},
|
|
|
|
"loopback-context#per-request": {
|
|
|
|
"params": {
|
|
|
|
"enableHttpContext": true
|
|
|
|
}
|
2016-11-09 12:12:59 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"session": {},
|
2017-06-01 11:52:13 +00:00
|
|
|
"auth": {
|
|
|
|
"loopback#token": {}
|
|
|
|
},
|
|
|
|
"auth:after": {
|
|
|
|
"./middleware/currentUser": {}
|
|
|
|
},
|
2016-11-09 12:12:59 +00:00
|
|
|
"parse": {},
|
|
|
|
"routes": {
|
|
|
|
"loopback#rest": {
|
|
|
|
"paths": [
|
|
|
|
"${restApiRoot}"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"files": {},
|
|
|
|
"final": {
|
|
|
|
"loopback#urlNotFound": {}
|
|
|
|
},
|
|
|
|
"final:after": {
|
|
|
|
"strong-error-handler": {}
|
|
|
|
}
|
|
|
|
}
|