Hello I'm using the serve npm package. I am trying to serve static files on a different route. Let's say I have the following directory structure that I'm trying to serve:
- index.html
- index.js
- helpers
- helper.js
I'm trying to serve it on a specific route using the serve package, but I can't seem to get the rewrite syntax correct. I'm trying to serve it on the custom
route.
What I have as the config is:
{
"rewrites": [
{"source":"custom/**", "destination":""}
]
}
Any help would be much appreciated.