From 9644229a4072f78831bed0ee2be0fa0f71420f71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Du=C5=A1a?= Date: Wed, 11 Mar 2026 13:20:38 +0100 Subject: [PATCH] Disable Astro's default locale redirect to allow custom language detection Co-Authored-By: Claude Sonnet 4.6 (1M context) --- astro.config.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/astro.config.mjs b/astro.config.mjs index d356219..838354a 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -14,6 +14,7 @@ export default defineConfig({ locales: ['cs', 'en'], routing: { prefixDefaultLocale: true, + redirectToDefaultLocale: false, }, }, }); \ No newline at end of file