diff --git a/src/env.mjs b/src/env.mjs index f96eb51..2c4f7fb 100644 --- a/src/env.mjs +++ b/src/env.mjs @@ -71,6 +71,7 @@ export const env = createEnv({ process.env.NODE_ENV === "production" ? z.string() : z.string().optional(), + NEXT_PUBLIC_DEPLOYMENT_URL: z.string(), }, /** @@ -96,6 +97,7 @@ export const env = createEnv({ LEMON_SQUEEZY_STORE_ID: process.env.LEMON_SQUEEZY_STORE_ID, LEMON_SQUEEZY_WEBHOOK_SECRET: process.env.LEMON_SQUEEZY_WEBHOOK_SECRET, LEMON_SQUEEZY_WEBHOOK_URL: process.env.LEMON_SQUEEZY_WEBHOOK_URL, + NEXT_PUBLIC_DEPLOYMENT_URL: process.env.NEXT_PUBLIC_DEPLOYMENT_URL, }, /** * Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially