salix/loopback/server/middleware.json

64 lines
1.1 KiB
JSON
Raw Permalink Normal View History

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,
"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": {
2023-01-24 10:55:50 +00:00
"loopback#token": {
"params": {
"currentUserLiteral": "me"
}
}
2017-10-13 14:22:45 +00:00
},
"auth:after": {
"./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": {
"./middleware/error-handler": {},
"strong-error-handler": {
"params": {
"log": false
}
}
2017-10-13 14:22:45 +00:00
}
}