fix: use runtime legal page URLs

This commit is contained in:
Leon Tonhäuser committed 2026-08-11 16:17:34 +02:00
1 parent 86dfe8053d
commit 60ef5ddab9
6 files changed
+41 -14

No files matched your search

+7 -3
View File
@@ -13,9 +13,13 @@ const serverEnvSchema = z.object({
SMTP_USER: z.string().min(1),
SMTP_PASSWORD: z.string().min(1),
SMTP_FROM: z.string().min(1),
LEGAL_IMPRINT_URL: z.url(),
LEGAL_PRIVACY_URL: z.url(),
LEGAL_TERMS_URL: z.url(),
LEGAL_IMPRINT_URL: z
.url()
.default("https://leon-tonhaeuser.de/impressum"),
LEGAL_PRIVACY_URL: z
.url()
.default("https://leon-tonhaeuser.de/datenschutz"),
LEGAL_TERMS_URL: z.url().default("https://leon-tonhaeuser.de/agb"),
});
export type ServerEnv = z.infer<typeof serverEnvSchema>;