Skip to content

Commit

Permalink
disable COEP, fixes #2858
Browse files Browse the repository at this point in the history
  • Loading branch information
zadam committed May 18, 2022
1 parent 37eb16b commit 9e089cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'}));
Expand Down

0 comments on commit 9e089cc

Please sign in to comment.