Updates and more
This commit is contained in:
6
src/middleware.ts
Normal file
6
src/middleware.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { sequence } from "astro/middleware"
|
||||
import { useAstroI18n } from "astro-i18n"
|
||||
|
||||
const astroI18n = useAstroI18n()
|
||||
|
||||
export const onRequest = sequence(astroI18n)
|
||||
Reference in New Issue
Block a user