fix: localize 404 and ensure header when no lang
This commit is contained in:
5
server/routers/contentstack/base/input.ts
Normal file
5
server/routers/contentstack/base/input.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { z } from "zod"
|
||||
|
||||
import { Lang } from "@/constants/languages"
|
||||
|
||||
export const headerInput = z.object({ lang: z.nativeEnum(Lang) })
|
||||
Reference in New Issue
Block a user