mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 09:56:44 +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,
 | |
|     },
 | |
|   },
 | |
| });
 | 
