summaryrefslogtreecommitdiffstats
path: root/frontend/lib/withData.js
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2018-05-16 13:55:34 -0400
committerWes Bos <wesbos@gmail.com>2018-05-16 13:55:34 -0400
commitf2e0263ee2d32b156a7a3b14770b897801c87553 (patch)
tree1879b47e2afa8c1c7eff2f7c65ec4a9a6d5b9462 /frontend/lib/withData.js
parentfceade857ecccad6884fe03a973215bd9df1a1e7 (diff)
last TODO
Diffstat (limited to 'frontend/lib/withData.js')
-rw-r--r--frontend/lib/withData.js4
1 files changed, 0 insertions, 4 deletions
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: {