Skip to content

Commit

Permalink
fix(web/apollo): convert to next public api
Browse files Browse the repository at this point in the history
  • Loading branch information
fieztazica committed Jun 7, 2024
1 parent bf10111 commit c8f3bd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/components/providers/apollo-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Props = {
function makeClient() {
const httpLink = new HttpLink({
// this needs to be an absolute url, as relative urls cannot be used in SSR
uri: `${process.env.API_URL}/api/graphql`,
uri: `${process.env.NEXT_PUBLIC_API_URL}/api/graphql`,
// credentials: 'same-origin',
// you can disable result caching here if you want to
// (this does not work if you are rendering your page with `export const dynamic = "force-static"`)
Expand Down

0 comments on commit c8f3bd4

Please sign in to comment.