Workers SPA to serve nearest index.html
Would it be possible to make worker serve nearest index.html instead of root index.html when hitting a SPA route with
For example for this file structure:
When requesting something like
Another approach would be to serve a specific predefined index.html instead of root. But I can't find anything about how to make this possible while still serving static assets without worker invocation.
"not_found_handling": "single-page-application"?For example for this file structure:
When requesting something like
domain.com/app/user/123 I'd like /app/index.htmlAnother approach would be to serve a specific predefined index.html instead of root. But I can't find anything about how to make this possible while still serving static assets without worker invocation.
