mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-02 17:03:25 +05:30
4 lines
262 B
JavaScript
4 lines
262 B
JavaScript
|
// Disable Web Workers. Fixes Video.js CSP violation (created by `new Worker(objURL)`):
|
||
|
// Refused to create a worker from 'blob:http://host/id' because it violates the following Content Security Policy directive: "worker-src 'self'".
|
||
|
window.Worker = undefined;
|