Skip to content

Commit

Permalink
Fix wrongly named env
Browse files Browse the repository at this point in the history
  • Loading branch information
spaceo committed Dec 2, 2024
1 parent 1649b31 commit 3142165
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/helpers/dpl-cms.graphql.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { getLagoonUrl } from "./lagoon"

export const getDplCmsGraphqlEndpoint = () => {
if (process.env.NEXT_PUBLIC_DPL_CMS_GRAPHQL_ENDPOINT) {
return process.env.NEXT_PUBLIC_DPL_CMS_GRAPHQL_ENDPOINT
if (process.env.NEXT_PUBLIC_GRAPHQL_SCHEMA_ENDPOINT_DPL_CMS) {
return process.env.NEXT_PUBLIC_GRAPHQL_SCHEMA_ENDPOINT_DPL_CMS
}

const lagoonUrl = getLagoonUrl("varnish")
Expand Down

0 comments on commit 3142165

Please sign in to comment.