From f2e0263ee2d32b156a7a3b14770b897801c87553 Mon Sep 17 00:00:00 2001 From: Wes Bos Date: Wed, 16 May 2018 13:55:34 -0400 Subject: last TODO --- frontend/lib/withData.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'frontend/lib') diff --git a/frontend/lib/withData.js b/frontend/lib/withData.js index 585cee7..6c215af 100644 --- a/frontend/lib/withData.js +++ b/frontend/lib/withData.js @@ -7,10 +7,6 @@ function createClient({ headers }) { return new ApolloClient({ uri: process.env.NODE_ENV === 'development' ? 'http://localhost:4444' : 'http://localhost:4444', ssrMode: !process.browser, // Disables forceFetch on the server (so queries are only run once) - // TODO this is a bug: https://github.com/apollographql/apollo-client/issues/3265 - fetchOptions: { - credentials: 'include', - }, request: async operation => { operation.setContext({ fetchOptions: { -- cgit v1.3