Remove outdated ENVIROMENT variable from tdweb worker.

This commit is contained in:
AYMEN Mohammed 2023-10-18 21:34:19 +03:00 committed by Aliaksei Levin
parent cabdd047b9
commit 522d54483c

View File

@ -83,8 +83,7 @@ async function loadTdlibWasm(onFS, wasmUrl) {
};
instantiateAny(tdlibVersion, td_wasm, imports).then(next);
return {};
},
ENVIROMENT: 'WORKER'
}
});
log.info('Wait module');
module = await module;
@ -110,8 +109,7 @@ async function loadTdlibAsmjs(onFS) {
return toFile;
}
return name;
},
ENVIROMENT: 'WORKER'
}
});
log.info('Wait module');
module = await module;