Remove outdated ENVIROMENT variable from tdweb worker.
This commit is contained in:
parent
cabdd047b9
commit
522d54483c
@ -83,8 +83,7 @@ async function loadTdlibWasm(onFS, wasmUrl) {
|
|||||||
};
|
};
|
||||||
instantiateAny(tdlibVersion, td_wasm, imports).then(next);
|
instantiateAny(tdlibVersion, td_wasm, imports).then(next);
|
||||||
return {};
|
return {};
|
||||||
},
|
}
|
||||||
ENVIROMENT: 'WORKER'
|
|
||||||
});
|
});
|
||||||
log.info('Wait module');
|
log.info('Wait module');
|
||||||
module = await module;
|
module = await module;
|
||||||
@ -110,8 +109,7 @@ async function loadTdlibAsmjs(onFS) {
|
|||||||
return toFile;
|
return toFile;
|
||||||
}
|
}
|
||||||
return name;
|
return name;
|
||||||
},
|
}
|
||||||
ENVIROMENT: 'WORKER'
|
|
||||||
});
|
});
|
||||||
log.info('Wait module');
|
log.info('Wait module');
|
||||||
module = await module;
|
module = await module;
|
||||||
|
Loading…
Reference in New Issue
Block a user