diff --git a/apps/web/config/app.config.ts b/apps/web/config/app.config.ts index 15057a1db..af56fbfc1 100644 --- a/apps/web/config/app.config.ts +++ b/apps/web/config/app.config.ts @@ -25,7 +25,7 @@ const AppConfigSchema = z required_error: `Please provide the variable NEXT_PUBLIC_SITE_URL`, }) .url({ - message: `Please provide a valid URL. Example: 'https://example.com'`, + message: `You are deploying a production build but have entered a NEXT_PUBLIC_SITE_URL variable using http instead of https. It is very likely that you have set the incorrect URL. The build will now fail to prevent you from from deploying a faulty configuration. Please provide the variable NEXT_PUBLIC_SITE_URL with a valid URL, such as: 'https://example.com'`, }), locale: z .string({