Graphql erabiltzen du (#5)
* feat: graphql erabiltzen du * node bertsioa jeisten du * feat: netlify deployments sartzen du * feat: token-a sortzen du * chore: Gatsbyren aldagaiak berreskuratzen ditu * fix: query-a konpontzen du
This commit is contained in:
29
back/config/plugins.js
Normal file
29
back/config/plugins.js
Normal file
@@ -0,0 +1,29 @@
|
||||
module.exports = {
|
||||
graphql: {
|
||||
config: {
|
||||
endpoint: "/graphql",
|
||||
shadowCRUD: true,
|
||||
playgroundAlways: false,
|
||||
depthLimit: 7,
|
||||
amountLimit: 100,
|
||||
apolloServer: {
|
||||
introspection: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
"netlify-deployments": {
|
||||
enabled: true,
|
||||
config: {
|
||||
accessToken: process.env.NETLIFY_DEPLOYMENTS_PLUGIN_ACCESS_TOKEN,
|
||||
sites: [
|
||||
{
|
||||
name: "laba-webgunea",
|
||||
id: "3e9ed70d-2f4b-4152-9aaf-1129570d01b4",
|
||||
buildHook:
|
||||
"https://api.netlify.com/build_hooks/61e338c09f4ef3bf644f86db",
|
||||
branch: "main", // optional
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user