Skip to content

Commit

Permalink
update nuxtjs-postgres-graphql dependencies (close hasura#3743) (hasu…
Browse files Browse the repository at this point in the history
…ra#3765)

* update nuxt to 2.11

* fix issue 3743
  • Loading branch information
praveenweb authored and shahidhk committed Jan 24, 2020
1 parent 5bd5a54 commit 2791000
Show file tree
Hide file tree
Showing 4 changed files with 3,808 additions and 2,414 deletions.
10 changes: 5 additions & 5 deletions community/sample-apps/nuxtjs-postgres-graphql/nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ module.exports = {
modules: ['@nuxtjs/apollo'],
// Give apollo module options
apollo: {
tokenExpires: 10, // optional, default: 7 (days)
cookieAttributes: {
expires: 7, // optional, default: 7 (days)
},
includeNodeModules: true, // optional, default: false (this includes graphql-tag for node_modules folder)
authenticationType: 'Basic', // optional, default: 'Bearer'
authenticationType: 'Bearer', // optional, default: 'Bearer'
// optional
errorHandler (error) {
console.log('%cError', 'background: red; color: white; padding: 2px 4px; border-radius: 3px; font-weight: bold;', error.message)
},
errorHandler: '~/plugins/apollo-error-handler.js',
// required
clientConfigs: {
default: '~/apollo/clientConfig.js'
Expand Down
Loading

0 comments on commit 2791000

Please sign in to comment.