Disable Astro's default locale redirect to allow custom language detection #23

Merged
vdusa merged 1 commits from master into production 2026-03-11 13:21:38 +01:00

View File

@@ -14,6 +14,7 @@ export default defineConfig({
locales: ['cs', 'en'], locales: ['cs', 'en'],
routing: { routing: {
prefixDefaultLocale: true, prefixDefaultLocale: true,
redirectToDefaultLocale: false,
}, },
}, },
}); });