mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	disable COEP, fixes #2858
This commit is contained in:
		@@ -20,7 +20,8 @@ app.set('view engine', 'ejs');
 | 
			
		||||
 | 
			
		||||
app.use(helmet({
 | 
			
		||||
    hidePoweredBy: false, // errors out in electron
 | 
			
		||||
    contentSecurityPolicy: false
 | 
			
		||||
    contentSecurityPolicy: false,
 | 
			
		||||
    crossOriginEmbedderPolicy: false
 | 
			
		||||
}));
 | 
			
		||||
 | 
			
		||||
app.use(express.text({limit: '500mb'}));
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user