mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
Fixed download worker security issue
This commit is contained in:
parent
2eb9463df7
commit
26ad6b6529
@ -14,7 +14,7 @@ function downloadFile() {
|
||||
if (this.status == 200) {
|
||||
|
||||
if (iv != '' && key != '') {
|
||||
var worker = new Worker(encScriptSrc);
|
||||
var worker = new Worker(GenerateBlobURL(encScriptSrc));
|
||||
|
||||
worker.addEventListener('message', function (e) {
|
||||
switch (e.data.cmd) {
|
||||
|
Loading…
Reference in New Issue
Block a user