/* /lib/apollo.js */

import { HttpLink } from "apollo-link-http";
import { withData } from "next-apollo";

const config = {
  link: new HttpLink({
    uri: "http://localhost:1337/graphql", // Server URL (must be absolute)
    opts: {
      credentials: "same-origin" // Additional fetch() options like `credentials` or `headers`
    }
  })
};
export default withData(config);

@@ -220,121 +220,8 @@
 te)%0A
-    opts: %7B%0A      credentials: %22same-origin%22 // Additional fetch() options like %60credentials%60 or %60headers%60%0A    %7D%0A
   %7D)

Update apollo.js