2016-11-07 09:06:28 +00:00
|
|
|
{
|
|
|
|
"initial:before": {
|
|
|
|
"loopback#favicon": {}
|
|
|
|
},
|
|
|
|
"initial": {
|
|
|
|
"compression": {},
|
|
|
|
"cors": {
|
|
|
|
"params": {
|
2016-11-08 08:07:39 +00:00
|
|
|
"origin": "*",
|
2016-11-07 09:06:28 +00:00
|
|
|
"credentials": true,
|
|
|
|
"maxAge": 86400
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"helmet#xssFilter": {},
|
|
|
|
"helmet#frameguard": {
|
|
|
|
"params": [
|
|
|
|
"deny"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"helmet#hsts": {
|
|
|
|
"params": {
|
|
|
|
"maxAge": 0,
|
|
|
|
"includeSubdomains": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"helmet#hidePoweredBy": {},
|
|
|
|
"helmet#ieNoOpen": {},
|
|
|
|
"helmet#noSniff": {},
|
|
|
|
"helmet#noCache": {
|
|
|
|
"enabled": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"session": {},
|
|
|
|
"auth": {},
|
|
|
|
"parse": {},
|
|
|
|
"routes": {
|
|
|
|
"loopback#rest": {
|
|
|
|
"paths": [
|
|
|
|
"${restApiRoot}"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"files": {},
|
|
|
|
"final": {
|
|
|
|
"loopback#urlNotFound": {}
|
|
|
|
},
|
|
|
|
"final:after": {
|
|
|
|
"strong-error-handler": {}
|
|
|
|
}
|
|
|
|
}
|