From d43da4654e822eb8c1851f46d7bbebc0bfbd76ed Mon Sep 17 00:00:00 2001 From: Mark van Aalst Date: Tue, 16 Jul 2024 16:42:30 +0200 Subject: [PATCH] remove next_public from env variables --- apps/devportal/src/lib/changelog/changelog.ts | 8 ++++---- apps/devportal/turbo.json | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/devportal/src/lib/changelog/changelog.ts b/apps/devportal/src/lib/changelog/changelog.ts index 8cc0dbb20..aa6df1781 100644 --- a/apps/devportal/src/lib/changelog/changelog.ts +++ b/apps/devportal/src/lib/changelog/changelog.ts @@ -8,12 +8,12 @@ export const entriesApiUrl = '/api/changelog/v1'; export function getChangelogCredentials(): ChangelogCredentials { return { production: { - endpoint: process.env.NEXT_PUBLIC_SITECORE_CHONE_ENDPOINT_DELIVERY as string, - token: process.env.NEXT_PUBLIC_SITECORE_CHONE_AUTH_TOKEN_DELIVERY as string, + endpoint: process.env.SITECORE_CHONE_ENDPOINT_DELIVERY as string, + token: process.env.SITECORE_CHONE_AUTH_TOKEN_DELIVERY as string, }, preview: { - endpoint: process.env.NEXT_PUBLIC_SITECORE_CHONE_ENDPOINT_PREVIEW as string, - token: process.env.NEXT_PUBLIC_SITECORE_CHONE_AUTH_TOKEN_PREVIEW as string, + endpoint: process.env.SITECORE_CHONE_ENDPOINT_PREVIEW as string, + token: process.env.SITECORE_CHONE_AUTH_TOKEN_PREVIEW as string, }, }; } diff --git a/apps/devportal/turbo.json b/apps/devportal/turbo.json index eb0047f02..c3c77912c 100644 --- a/apps/devportal/turbo.json +++ b/apps/devportal/turbo.json @@ -16,10 +16,10 @@ "NEXT_PUBLIC_GTM_ID", "NEXT_PUBLIC_GTM_AUTH", "NEXT_PUBLIC_GTM_ENVIRONMENT", - "NEXT_PUBLIC_SITECORE_CHONE_ENDPOINT_DELIVERY", - "NEXT_PUBLIC_SITECORE_CHONE_AUTH_TOKEN_DELIVERY", - "NEXT_PUBLIC_SITECORE_CHONE_ENDPOINT_PREVIEW", - "NEXT_PUBLIC_SITECORE_CHONE_AUTH_TOKEN_PREVIEW", + "SITECORE_CHONE_ENDPOINT_DELIVERY", + "SITECORE_CHONE_AUTH_TOKEN_DELIVERY", + "SITECORE_CHONE_ENDPOINT_PREVIEW", + "SITECORE_CHONE_AUTH_TOKEN_PREVIEW", "NEXT_PUBLIC_PUBLIC_URL", "NEXT_PUBLIC_SITECORE_CDP_CLIENT_KEY", "NEXT_PUBLIC_SITECORE_CDP_POS",