From 7d80b3a7cfcf5505de26d6539b82b046d6df760d Mon Sep 17 00:00:00 2001 From: codewithjalaj Date: Sun, 18 Oct 2020 17:21:00 +0530 Subject: [PATCH] testing with different uri --- src/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index 8464eb9..e6c0688 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -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 = {