mirror of
https://github.com/strapi/strapi.git
synced 2025-07-04 23:52:10 +00:00
35 lines
540 B
JavaScript
35 lines
540 B
JavaScript
'use strict';
|
|
|
|
module.exports = () => ({
|
|
graphql: {
|
|
enabled: true,
|
|
config: {
|
|
endpoint: '/graphql',
|
|
|
|
defaultLimit: 25,
|
|
maxLimit: 100,
|
|
|
|
apolloServer: {
|
|
tracing: true,
|
|
},
|
|
},
|
|
},
|
|
documentation: {
|
|
config: {
|
|
info: {
|
|
version: '2.0.0',
|
|
},
|
|
'x-strapi-config': {
|
|
plugins: ['upload'],
|
|
},
|
|
},
|
|
},
|
|
myplugin: {
|
|
enabled: true,
|
|
resolve: `./src/plugins/myplugin`, // From the root of the project
|
|
config: {
|
|
testConf: 3,
|
|
},
|
|
},
|
|
});
|