diff --git a/webapp/nuxt.config.js b/webapp/nuxt.config.js index 2f4105a02..02bc96c1a 100644 --- a/webapp/nuxt.config.js +++ b/webapp/nuxt.config.js @@ -21,7 +21,7 @@ module.exports = { modern: !dev ? 'server' : false, - transition: { + pageTransition: { name: 'slide-up', mode: 'out-in', }, @@ -168,7 +168,9 @@ module.exports = { // Give apollo module options apollo: { tokenName: 'human-connection-token', // optional, default: apollo-token - tokenExpires: 3, // optional, default: 7 (days) + cookieAttributes: { + expires: 3, // optional, default: 7 (days) + }, // includeNodeModules: true, // optional, default: false (this includes graphql-tag for node_modules folder) // Watch loading state for all queries diff --git a/webapp/package.json b/webapp/package.json index 73a5707d2..d2bd5134e 100644 --- a/webapp/package.json +++ b/webapp/package.json @@ -66,6 +66,7 @@ "isemail": "^3.2.0", "jsonwebtoken": "~8.5.1", "linkify-it": "~2.2.0", + "node-fetch": "^2.6.0", "nuxt": "~2.8.1", "nuxt-dropzone": "^1.0.2", "nuxt-env": "~0.1.0",