Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
pmelab committed Jun 21, 2024
1 parent 96bc1d9 commit 5160126
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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.DRUPAL_INTERNAL_URL || 'http://localhost:8888'}/graphql`,
`${process.env.DRUPAL_EXTERNAL_URL || 'http://localhost:8888'}/graphql`,
);
url.searchParams.set('queryId', operation);
url.searchParams.set('variables', JSON.stringify(variables || {}));
Expand Down
2 changes: 1 addition & 1 deletion apps/website/src/executors-server.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { DrupalExecutor } from './drupal-executor.js';
export function ExecutorsServer({ children }: PropsWithChildren) {
return (
<DrupalExecutor
url={process.env.DRUPAL_INTERNAL_URL || 'http://localhost:8888'}
url={process.env.DRUPAL_EXTERNAL_URL || 'http://localhost:8888'}
>
{children}
</DrupalExecutor>
Expand Down

0 comments on commit 5160126

Please sign in to comment.