mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 20:46:39 +02:00
parent
1cb5f6efa9
commit
9d231c7b02
2 changed files with 3 additions and 2 deletions
|
@ -49,8 +49,8 @@
|
|||
logging.verbose("Adding CSP header to", details);
|
||||
setHeader(headers, {
|
||||
name: "Content-Security-Policy",
|
||||
value: `object-src ${cspMatch}; frame-src ${cspMatch}; worker-src ${cspMatch}; child-src ${cspMatch}; ` +
|
||||
"report-to https://canvasblocker.invalid/; report-uri https://canvasblocker.invalid/"
|
||||
value: `object-src ${cspMatch}; frame-src ${cspMatch}`
|
||||
// + "; report-to https://canvasblocker.invalid/; report-uri https://canvasblocker.invalid/"
|
||||
});
|
||||
}
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue