mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	disable COEP, fixes #2858
This commit is contained in:
		
							parent
							
								
									37eb16b2f3
								
							
						
					
					
						commit
						9e089cc7cd
					
				@ -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'}));
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user