mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 06:45:49 +01:00
server-esm: Fix the remaining compilation errors
This commit is contained in:
@@ -20,7 +20,7 @@ if (!utils.isElectron()) {
|
||||
app.use(compression()); // HTTP compression
|
||||
}
|
||||
|
||||
app.use(helmet.default({
|
||||
app.use(helmet({
|
||||
hidePoweredBy: false, // errors out in electron
|
||||
contentSecurityPolicy: false,
|
||||
crossOriginEmbedderPolicy: false
|
||||
|
||||
Reference in New Issue
Block a user