🐛 Fixes redirecting takes seconds
All checks were successful
Gitea Build Action / build-astro (push) Successful in 9m26s
All checks were successful
Gitea Build Action / build-astro (push) Successful in 9m26s
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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/",
|
||||||
}
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user