From ed90293ff7114dd123bfbd97042bd8419e72a8dd Mon Sep 17 00:00:00 2001 From: alexeh Date: Wed, 12 Jun 2024 12:10:21 +0300 Subject: [PATCH] set eudr true by default in client --- client/src/env.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/env.mjs b/client/src/env.mjs index 0941d4a58..0294ca03d 100644 --- a/client/src/env.mjs +++ b/client/src/env.mjs @@ -30,7 +30,7 @@ export const env = createEnv({ // ? URL (including protocol) of the API NEXT_PUBLIC_API_URL: z.string().url(), // ? enables access to EUDR page - NEXT_PUBLIC_ENABLE_EUDR: castToBoolean.default(false), + NEXT_PUBLIC_ENABLE_EUDR: castToBoolean.default(true), NEXT_PUBLIC_PLANET_API_KEY: z.string().default('PLAK6679039df83f414faf798ba4ad4530db'), NEXT_PUBLIC_CARTO_FOREST_ACCESS_TOKEN: z .string() @@ -54,7 +54,7 @@ export const env = createEnv({ NEXTAUTH_URL: process.env.NEXTAUTH_URL, NEXTAUTH_SECRET: process.env.NEXTAUTH_SECRET, NEXT_PUBLIC_API_URL: process.env.NEXT_PUBLIC_API_URL, - NEXT_PUBLIC_ENABLE_EUDR: true, + NEXT_PUBLIC_ENABLE_EUDR: process.env.NEXT_PUBLIC_ENABLE_EUDR, NEXT_PUBLIC_PLANET_API_KEY: process.env.NEXT_PUBLIC_PLANET_API_KEY, NEXT_PUBLIC_CARTO_FOREST_ACCESS_TOKEN: process.env.NEXT_PUBLIC_CARTO_FOREST_ACCESS_TOKEN, NEXT_PUBLIC_CARTO_DEFORESTATION_ACCESS_TOKEN: