mirror of
				https://github.com/strapi/strapi.git
				synced 2025-11-04 11:54:10 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
		
			475 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			475 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',
 | 
						|
      },
 | 
						|
    },
 | 
						|
  },
 | 
						|
  myplugin: {
 | 
						|
    enabled: true,
 | 
						|
    resolve: `./src/plugins/myplugin`, // From the root of the project
 | 
						|
    config: {
 | 
						|
      testConf: 3,
 | 
						|
    },
 | 
						|
  },
 | 
						|
});
 |