mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-21 11:42:05 +00:00
adapt stremio core initialization
This commit is contained in:
parent
3d2791269d
commit
d2a8c96067
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ const apiEvents = new EventEmitter();
|
||||||
apiEvents.on('error', (error) => {
|
apiEvents.on('error', (error) => {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
});
|
});
|
||||||
initialize_api()
|
initialize_api(require('@stremio/stremio-core-web/stremio_core_web_bg.wasm'))
|
||||||
.then(() => {
|
.then(() => {
|
||||||
const transportEvents = new EventEmitter();
|
const transportEvents = new EventEmitter();
|
||||||
transportEvents.on('error', (error) => {
|
transportEvents.on('error', (error) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue