ssg index.html

published: Mon Feb 19 2024 21:36:06 GMT+0000 (Coordinated Universal Time)

New sveltekit finding: instead of using nginx to route all incoming requests for an SSG app to the root index.html, you can export const trailingSlash = 'always'; in your +layout.server.ts and that'll generate an index.html for every route.

The more you know!