Updates and more

This commit is contained in:
2023-10-12 21:02:57 +02:00
parent f10d4c17d6
commit c5164f2bd3
29 changed files with 803 additions and 147 deletions

6
src/middleware.ts Normal file
View File

@@ -0,0 +1,6 @@
import { sequence } from "astro/middleware"
import { useAstroI18n } from "astro-i18n"
const astroI18n = useAstroI18n()
export const onRequest = sequence(astroI18n)