mirror of
https://github.com/zadam/trilium.git
synced 2025-02-25 07:25:32 +08:00
disable COEP, fixes #2858
This commit is contained in:
parent
37eb16b2f3
commit
9e089cc7cd
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue