Skip to content

Commit

Permalink
testing with different uri
Browse files Browse the repository at this point in the history
  • Loading branch information
jalajcodes committed Oct 18, 2020
1 parent 6f44a0a commit 7d80b3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@ const authLink = setContext((_, { headers }) => {

const httpLink = createHttpLink({
uri: 'https://hsh-server.herokuapp.com/api',
// credentials: 'include',
credentials: 'include',
});

const client = new ApolloClient({
link: authLink.concat(httpLink),
cache: new InMemoryCache(),
credentials: 'include',
});

const initialViewerState: Viewer = {
Expand Down

0 comments on commit 7d80b3a

Please sign in to comment.