Skip to content

Instantly share code, notes, and snippets.

@null4bl3
Last active January 31, 2018 12:18
Show Gist options
  • Save null4bl3/0b0c3488da4b41634d44bbb297264bc8 to your computer and use it in GitHub Desktop.
Save null4bl3/0b0c3488da4b41634d44bbb297264bc8 to your computer and use it in GitHub Desktop.
Loopback lets you define middleware for serving static files. This is the examples with path i keep looking for
"files": {
"loopback#static": [
{
"paths": [
"/"
],
"params": "$!../client/dist"
},
{
"paths": [
"/assets"
],
"params": "$!../client/dist/assets"
}
]
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment