We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d14333 commit e1d5243Copy full SHA for e1d5243
.github/workflows/run-integration-tests.yml
@@ -29,4 +29,6 @@ jobs:
29
run: yarn ws:db build
30
31
- name: Run integration tests
32
+ env:
33
+ HASURA_URL: 'https://e2e.local.jore.hsldev.com/api/graphql/v1/graphql'
34
run: yarn test:integration
ui/src/graphql/client.ts
@@ -96,7 +96,9 @@ function getGraphqlUrl(
96
const path = '/api/graphql/v1/graphql';
97
98
if (isTesting) {
99
- return `http://127.0.0.1:3300${path}`;
+ // In CI or when HASURA_URL is set, use it directly
100
+ // Otherwise default to UI proxy for local development
101
+ return process.env.HASURA_URL ?? `http://127.0.0.1:3300${path}`;
102
}
103
104
if (isWebsocket) {
0 commit comments