2017-10-13 14:22:45 +00:00
|
|
|
{
|
2019-01-25 22:02:29 +00:00
|
|
|
"initial:before": {},
|
2017-10-13 14:22:45 +00:00
|
|
|
"initial": {
|
|
|
|
"compression": {},
|
|
|
|
"helmet#xssFilter": {},
|
|
|
|
"helmet#frameguard": {
|
|
|
|
"params": [
|
|
|
|
"deny"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"helmet#hsts": {
|
|
|
|
"params": {
|
|
|
|
"maxAge": 0,
|
2019-09-16 11:13:25 +00:00
|
|
|
"includeSubDomains": true
|
2017-10-13 14:22:45 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"helmet#hidePoweredBy": {},
|
|
|
|
"helmet#ieNoOpen": {},
|
|
|
|
"helmet#noSniff": {},
|
|
|
|
"helmet#noCache": {
|
|
|
|
"enabled": false
|
|
|
|
},
|
|
|
|
"loopback-context#per-request": {
|
|
|
|
"params": {
|
|
|
|
"enableHttpContext": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"session": {},
|
|
|
|
"auth": {
|
|
|
|
"loopback#token": {}
|
|
|
|
},
|
|
|
|
"auth:after": {
|
2022-08-10 10:13:31 +00:00
|
|
|
"./middleware/current-user": {},
|
|
|
|
"./middleware/salix-version": {}
|
2017-10-13 14:22:45 +00:00
|
|
|
},
|
|
|
|
"parse": {
|
|
|
|
"body-parser#json":{}
|
|
|
|
},
|
|
|
|
"routes": {
|
|
|
|
"loopback#rest": {
|
|
|
|
"paths": [
|
|
|
|
"${restApiRoot}"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"files": {},
|
|
|
|
"final": {
|
|
|
|
"loopback#urlNotFound": {}
|
|
|
|
},
|
|
|
|
"final:after": {
|
2018-01-29 11:37:54 +00:00
|
|
|
"./middleware/error-handler": {},
|
2019-06-11 13:46:42 +00:00
|
|
|
"strong-error-handler": {
|
|
|
|
"params": {
|
|
|
|
"log": false
|
|
|
|
}
|
|
|
|
}
|
2017-10-13 14:22:45 +00:00
|
|
|
}
|
|
|
|
}
|