fix(docker): add environment variable for puppeteer to launch with ignore http errors flag

This commit is contained in:
ToshY
2024-05-15 19:52:22 +02:00
parent 7a8b5d09c6
commit f60fc63ee3
3 changed files with 13 additions and 1 deletions
+4
View File
@@ -20,6 +20,10 @@ export const configSchema = z.object({
// Browser
CHROME_TOKEN: z.string(),
CHROME_URL: z.string().url(),
CHROME_IGNORE_HTTPS_ERRORS: z
.string()
.default("false")
.transform((s) => s !== "false" && s !== "0"),
// Mail Server
MAIL_FROM: z.string().includes("@").optional().default("noreply@localhost"),