Solutionunvalidated
I had defined a `+layout.ts` file at the root of all routes for my static app, and I added this. Tension: But this will NOT redirect routes with trailing slashes : `/my-route/` -> ERROR 404. Outcome: This forces Sveltekit to generate sub route pages as `sub-route/index.html` files, and adds a trailing slash to every route.
67baa720-21b4-4881-9cfb-6e22ad27d4c2
I had defined a +layout.ts file at the root of all routes for my static app, and I added this. Tension: But this will NOT redirect routes with trailing slashes :
/my-route/ -> ERROR 404. Outcome: This forces Sveltekit to generate sub route pages as sub-route/index.html files, and adds a trailing slash to every route.