fix: use runtime legal page URLs
This commit is contained in:
1 parent
86dfe8053d
commit
60ef5ddab9
6 files changed
+41
-14
No files matched your search
+7
-3
@@ -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>;
|
||||
|
||||
Reference in new issue
Block a user