Skip to content

Commit

Permalink
Set node version 18.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarcnicasource committed Jun 9, 2023
1 parent 1c281dd commit b9c8c6e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/withData.tsx
Expand Up @@ -31,11 +31,12 @@ export const authTokenVar = makeVar(token);
// }

// type IHeader = Record<string, string>

/* 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({
Expand Down
3 changes: 3 additions & 0 deletions package.json
Expand Up @@ -2,6 +2,9 @@
"name": "nextuber",
"version": "0.1.0",
"private": true,
"engines": {
"node": "18.15.0"
},
"scripts": {
"dev": "next dev",
"build": "next build",
Expand Down

0 comments on commit b9c8c6e

Please sign in to comment.