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

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Vladimír Duša
2026-03-11 13:20:38 +01:00
parent 0cc447c113
commit 9644229a40

View File

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