2017-10-13 14:22:45 +00:00
|
|
|
{
|
|
|
|
"initial:before": {
|
2017-11-13 21:15:44 +00:00
|
|
|
"loopback#favicon": {
|
2017-11-16 06:51:42 +00:00
|
|
|
"params": "$!../favicon.ico"
|
2017-11-13 21:15:44 +00:00
|
|
|
}
|
2017-10-13 14:22:45 +00:00
|
|
|
},
|
|
|
|
"initial": {
|
|
|
|
"compression": {},
|
|
|
|
"cors": {
|
|
|
|
"params": {
|
|
|
|
"origin": "*",
|
|
|
|
"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": {
|
|
|
|
"body-parser#json":{}
|
|
|
|
},
|
|
|
|
"routes": {
|
|
|
|
"loopback#rest": {
|
|
|
|
"paths": [
|
|
|
|
"${restApiRoot}"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"files": {},
|
|
|
|
"final": {
|
|
|
|
"loopback#urlNotFound": {}
|
|
|
|
},
|
|
|
|
"final:after": {
|
|
|
|
"strong-error-handler": {}
|
|
|
|
}
|
|
|
|
}
|