mirror of
				https://github.com/monkeytypegame/monkeytype.git
				synced 2025-10-28 01:39:29 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			561 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			561 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| /**
 | |
|  * This is the base schema for the configuration of the API backend.
 | |
|  * To add a new configuration. Simply add it to this object.
 | |
|  * When changing this template, please follow the principle of "Secure by default" (https://en.wikipedia.org/wiki/Secure_by_default).
 | |
|  */
 | |
| const BASE_CONFIGURATION = Object.freeze({
 | |
|   maintenance: false,
 | |
|   quoteReport: {
 | |
|     enabled: false,
 | |
|     maxReports: 0,
 | |
|     contentReportLimit: 0,
 | |
|   },
 | |
|   quoteSubmit: {
 | |
|     enabled: false,
 | |
|   },
 | |
|   resultObjectHashCheck: {
 | |
|     enabled: false,
 | |
|   },
 | |
| });
 | |
| 
 | |
| module.exports = BASE_CONFIGURATION;
 |