Last active
January 31, 2018 12:18
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"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