Skip to content

Commit 747fd59

Browse files
committed
Test hardcoded url in Apollo
1 parent 0710f2c commit 747fd59

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/playwright.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v3
1313
- uses: actions/setup-node@v3
1414
with:
15-
node-version: 16
15+
node-version: 18
1616
- name: Install dependencies
1717
run: npm ci
1818
- name: Install Playwright Browsers

src/utils/apollo/ApolloClient.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ const client = new ApolloClient({
6767
link: middleware.concat(
6868
afterware.concat(
6969
createHttpLink({
70-
uri: process.env.NEXT_PUBLIC_GRAPHQL_URL,
70+
//uri: process.env.NEXT_PUBLIC_GRAPHQL_URL,
71+
uri: "https://swewoocommerce.dfweb.no/graphql",
7172
fetch,
7273
})
7374
)

0 commit comments

Comments
 (0)