Skip to content

Commit

Permalink
Add extra docs
Browse files Browse the repository at this point in the history
  • Loading branch information
HaNdTriX committed Feb 7, 2020
1 parent 6f820be commit 186479f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/with-apollo/apolloClient.js
Expand Up @@ -4,7 +4,7 @@ import { HttpLink } from 'apollo-link-http'
import fetch from 'isomorphic-unfetch'

export default function createApolloClient(initialState, ctx) {
// The `ctx` will only be present on the server.
// The `ctx` (NextPageContext) will only be present on the server.
// use it to extract auth headers (ctx.req) or similar.
return new ApolloClient({
ssrMode: Boolean(ctx),
Expand Down

0 comments on commit 186479f

Please sign in to comment.