From 39f39f7d1fb57d4a274211fbaa42ba9bc259406f Mon Sep 17 00:00:00 2001 From: Philipp Melab Date: Sat, 22 Jun 2024 10:35:34 +0200 Subject: [PATCH] WIP --- apps/website/.lagoon.env.lagoon-waku | 1 + apps/website/src/entries.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/website/.lagoon.env.lagoon-waku b/apps/website/.lagoon.env.lagoon-waku index 79fc14833..dbfd3c9cc 100644 --- a/apps/website/.lagoon.env.lagoon-waku +++ b/apps/website/.lagoon.env.lagoon-waku @@ -1,4 +1,5 @@ PROJECT_NAME=waku +PUBLIC_DRUPAL_URL="https://waku.cms.amazeelabs.dev" WAKU_PUBLIC_DRUPAL_URL="https://waku.cms.amazeelabs.dev" NETLIFY_URL="https://waku.amazeelabs.dev" NETLIFY_SITE_ID="ca4ea730-4703-4a61-b041-0a2a6983ee1d" diff --git a/apps/website/src/entries.tsx b/apps/website/src/entries.tsx index 6efd0db14..82bd46273 100644 --- a/apps/website/src/entries.tsx +++ b/apps/website/src/entries.tsx @@ -25,7 +25,7 @@ async function query( variables: OperationVariables, ) { const url = new URL( - `${process.env.WAKU_PUBLIC_DRUPAL_URL || 'http://localhost:8888'}/graphql`, + `${process.env.PUBLIC_DRUPAL_URL || 'http://localhost:8888'}/graphql`, ); url.searchParams.set('queryId', operation); url.searchParams.set('variables', JSON.stringify(variables || {}));