Skip to content

Commit

Permalink
fix: fixed custom fetch config
Browse files Browse the repository at this point in the history
  • Loading branch information
oxala authored and DylanPiercey committed Aug 29, 2022
1 parent 37cc82a commit 17b5cf6
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class {
</@then>
<@placeholder>
<spinner />
<@placeholder>
</@placeholder>
</gql-query>
```

Expand Down
48 changes: 46 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"esbuild-register": "^3.0.0",
"eslint": "^8.1.0",
"eslint-config-prettier": "^8.3.0",
"eslint-formatter-codeframe": "^7.32.1",
"express": "^4.17.1",
"express-graphql": "0.12.0",
"fast-glob": "^3.2.7",
Expand Down
2 changes: 1 addition & 1 deletion src/client/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ export function createClient({
ssr, // Add `ssr` in front of the `fetchExchange`
fetchExchange,
],
...lookup.config,
fetch,
...lookup.config,
});

return { client, ssr };
Expand Down

0 comments on commit 17b5cf6

Please sign in to comment.