From 522d54483cf25f4ef96b604c76353b0477cb8433 Mon Sep 17 00:00:00 2001 From: AYMEN Mohammed <53928879+AYMENJD@users.noreply.github.com> Date: Wed, 18 Oct 2023 21:34:19 +0300 Subject: [PATCH] Remove outdated ENVIROMENT variable from tdweb worker. --- example/web/tdweb/src/worker.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/example/web/tdweb/src/worker.js b/example/web/tdweb/src/worker.js index 3323a0502..6698b5b28 100644 --- a/example/web/tdweb/src/worker.js +++ b/example/web/tdweb/src/worker.js @@ -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;