diff --git a/examples/with-apollo/lib/initApollo.js b/examples/with-apollo/lib/initApollo.js index b5d7861e..6aeec81a 100644 --- a/examples/with-apollo/lib/initApollo.js +++ b/examples/with-apollo/lib/initApollo.js @@ -16,9 +16,7 @@ function create (initialState) { ssrMode: !process.browser, // Disables forceFetch on the server (so queries are only run once) link: new HttpLink({ uri: 'https://api.graph.cool/simple/v1/cixmkt2ul01q00122mksg82pn', // Server URL (must be absolute) - opts: { - credentials: 'same-origin' // Additional fetch() options like `credentials` or `headers` - } + credentials: 'same-origin' // Additional fetch() options like `credentials` or `headers` }), cache: new InMemoryCache().restore(initialState || {}), })