diff --git a/lib/withData.tsx b/lib/withData.tsx index efca988..3c06102 100644 --- a/lib/withData.tsx +++ b/lib/withData.tsx @@ -31,11 +31,12 @@ export const authTokenVar = makeVar(token); // } // type IHeader = Record - +/* eslint-disable */ export default withApollo(({ ctx, headers, initialState }) => { +/* eslint-enable */ // this uses apollo-link-http under the hood, so all the options here come from that package - console.log(ctx); - console.log(headers); + // console.log(ctx); + // console.log(headers); // const headers2 = { ...headers} as IHeader; const httpLink = createHttpLink({ diff --git a/package.json b/package.json index 81cb25f..e45dd37 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,9 @@ "name": "nextuber", "version": "0.1.0", "private": true, + "engines": { + "node": "18.15.0" + }, "scripts": { "dev": "next dev", "build": "next build",