Skip to content

Commit

Permalink
remove next_public from env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
markvanaalst committed Jul 16, 2024
1 parent 7c9525e commit d43da46
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions apps/devportal/src/lib/changelog/changelog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
};
}
Expand Down
8 changes: 4 additions & 4 deletions apps/devportal/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit d43da46

Please sign in to comment.