mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +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({
|
app.use(helmet({
|
||||||
hidePoweredBy: false, // errors out in electron
|
hidePoweredBy: false, // errors out in electron
|
||||||
contentSecurityPolicy: false
|
contentSecurityPolicy: false,
|
||||||
|
crossOriginEmbedderPolicy: false
|
||||||
}));
|
}));
|
||||||
|
|
||||||
app.use(express.text({limit: '500mb'}));
|
app.use(express.text({limit: '500mb'}));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user