61 lines
1.0 KiB
JSON
61 lines
1.0 KiB
JSON
|
{
|
||
|
"initial:before": {
|
||
|
"loopback#favicon": {}
|
||
|
},
|
||
|
"initial": {
|
||
|
"compression": {},
|
||
|
"cors": {
|
||
|
"params": {
|
||
|
"origin": true,
|
||
|
"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
|
||
|
},
|
||
|
"loopback-context#per-request": {
|
||
|
"params": {
|
||
|
"enableHttpContext": true
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"session": {},
|
||
|
"auth": {
|
||
|
"loopback#token": {}
|
||
|
},
|
||
|
"auth:after": {
|
||
|
"./middleware/currentUser": {}
|
||
|
},
|
||
|
"parse": {},
|
||
|
"routes": {
|
||
|
"loopback#rest": {
|
||
|
"paths": [
|
||
|
"${restApiRoot}"
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"files": {},
|
||
|
"final": {
|
||
|
"loopback#urlNotFound": {}
|
||
|
},
|
||
|
"final:after": {
|
||
|
"strong-error-handler": {}
|
||
|
}
|
||
|
}
|