graphql-engine/community/sample-apps/gridsome-postgres-graphql/gridsome.config.js
2019-06-10 18:57:38 +05:30

20 lines
535 B
JavaScript

// This is where project configuration and plugin options are located.
// Learn more: https://gridsome.org/docs/config
// Changes here require a server restart.
// To restart press CTRL + C in terminal and run `gridsome develop`
module.exports = {
siteName: 'Gridsome',
plugins: [{
use: '@gridsome/source-graphql',
options: {
url: 'http://localhost:8090/v1/graphql',
fieldName: 'hasura',
headers: {
// Authorization: `Bearer ${process.env.AUTH_TOKEN}`,
},
},
}]
}