voorhoede / head-start

Base setup on top of headless services to help you quickly start a new website
ISC License
3 stars 0 forks source link

Redirect root to default locale (server-side) #28

Closed jbmoelker closed 11 months ago

jbmoelker commented 11 months ago

Redirecting from the root url (/) to the default locale, (eg. /en/) should be instant and server-side. Instead this currently shows a message in the browser before the actual redirect happens:

head-start-root-redirect

Replace this with a redirect rule instead of a script in an Astro template?

jbmoelker commented 11 months ago

Note: should probably be fixed after adding the @astro/cloudflare adapter.