Skip to content

Instantly share code, notes, and snippets.

@mattiaaccornero
Last active August 29, 2015 14:14
Show Gist options
  • Save mattiaaccornero/50a5492102f69b389881 to your computer and use it in GitHub Desktop.
Save mattiaaccornero/50a5492102f69b389881 to your computer and use it in GitHub Desktop.
Loopback middleware.json (not working)
{
"initial:before": {
"loopback#favicon": {
"params":"$!../public/favicon.ico"
}
},
"initial": {
"compression": {}
},
"session": {
},
"auth": {
},
"parse": {
},
"routes": {
"loopback#status": {
"paths": "/status"
}
},
"files": {
"loopback#static": {
"params":"$!../public"
}
},
"final": {
"loopback#urlNotFound": {
"paths":"/errors/404.html"
}
},
"final:after": {
"errorhandler": {}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment