🐛 Fixes redirecting takes seconds
All checks were successful
Gitea Build Action / build-astro (push) Successful in 9m26s

This commit is contained in:
2025-10-22 17:52:45 +02:00
parent 84f366198b
commit 775cf060f8
2 changed files with 6 additions and 4 deletions

View File

@@ -5,3 +5,5 @@ My personal portfolio website, written in [Astro](https://astro.build/)
### License ### License
This project is licensed under the [GNU GPLv3](LICENSE) license This project is licensed under the [GNU GPLv3](LICENSE) license
TODO: please rewrite in an actually good framework like nuxt

View File

@@ -14,8 +14,8 @@ export default defineConfig({
i18n: { i18n: {
locales: ["en", "sk", "de"], locales: ["en", "sk", "de"],
defaultLocale: "en", defaultLocale: "en",
routing: { },
prefixDefaultLocale: true, redirects: {
} "/": "/en/",
} },
}); });