Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
pmelab committed Jun 22, 2024
1 parent 338dd9e commit 39f39f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/website/.lagoon.env.lagoon-waku
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion apps/website/src/entries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async function query<TOperation extends AnyOperationId>(
variables: OperationVariables<TOperation>,
) {
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 || {}));
Expand Down

0 comments on commit 39f39f7

Please sign in to comment.