From 106d6ec9fa21c85dcd80400b6bbaffde3dcab9c4 Mon Sep 17 00:00:00 2001 From: gbuomprisco Date: Fri, 6 Sep 2024 19:47:06 +0200 Subject: [PATCH] Specify environment variable required in Zod message --- apps/web/config/app.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/config/app.config.ts b/apps/web/config/app.config.ts index af56fbfc1..7c9c6ca6b 100644 --- a/apps/web/config/app.config.ts +++ b/apps/web/config/app.config.ts @@ -49,7 +49,7 @@ const AppConfigSchema = z return !schema.url.startsWith('http:'); }, { - message: `Please use a valid HTTPS URL in production.`, + message: `Please provide a valid HTTPS URL. Set the variable NEXT_PUBLIC_SITE_URL with a valid URL, such as: 'https://example.com'`, path: ['url'], }, )