mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 04:24:35 +03:00
20 lines
535 B
JavaScript
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}`,
|
|
},
|
|
},
|
|
}]
|
|
}
|