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:
@@ -14,6 +14,7 @@ export default defineConfig({
|
|||||||
locales: ['cs', 'en'],
|
locales: ['cs', 'en'],
|
||||||
routing: {
|
routing: {
|
||||||
prefixDefaultLocale: true,
|
prefixDefaultLocale: true,
|
||||||
|
redirectToDefaultLocale: false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
Reference in New Issue
Block a user