We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4c5834 commit e2e1b26Copy full SHA for e2e1b26
src/store/video.ts
@@ -3,8 +3,8 @@ import type { Getter, Setter } from "jotai";
3
import { atomWithReset } from "jotai/utils";
4
import { atomEffect } from "jotai-effect";
5
6
-// MediaInfo is offloaded to a Web Worker to avoid 'unsafe-eval' on the main page
7
-// and to scope CSP relaxation to worker only.
+// MediaInfo is offloaded to a Web Worker to keep heavy parsing off the main thread.
+// mediainfo.js is built without dynamic eval, so CSP does not need 'unsafe-eval'.
8
import MediainfoWorker from "../workers/mediainfo.worker?worker";
9
10
import { isVideoFile } from "../utils";
0 commit comments