Skip to content

Commit e2e1b26

Browse files
committed
Fix comment
1 parent a4c5834 commit e2e1b26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/store/video.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import type { Getter, Setter } from "jotai";
33
import { atomWithReset } from "jotai/utils";
44
import { atomEffect } from "jotai-effect";
55

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.
6+
// MediaInfo is offloaded to a Web Worker to keep heavy parsing off the main thread.
7+
// mediainfo.js is built without dynamic eval, so CSP does not need 'unsafe-eval'.
88
import MediainfoWorker from "../workers/mediainfo.worker?worker";
99

1010
import { isVideoFile } from "../utils";

0 commit comments

Comments
 (0)