Merge pull request #1856 from WangZhiYao/main

feat(server): Support for SMTP-over-TLS
This commit is contained in:
Amruth Pillai
2024-04-09 10:30:17 +02:00
committed by GitHub
+1 -1
View File
@@ -26,7 +26,7 @@ export const configSchema = z.object({
// Mail Server
MAIL_FROM: z.string().includes("@").optional().default("noreply@localhost"),
SMTP_URL: z.string().url().startsWith("smtp://").optional(),
SMTP_URL: z.string().url().refine(url => url.startsWith("smtp://") || url.startsWith("smtps://")).optional(),
// Storage
STORAGE_ENDPOINT: z.string(),