mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
change the bridge api
This commit is contained in:
parent
84a3a79bc9
commit
1d43da60c2
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ const Bridge = require('@stremio/stremio-core-web/bridge');
|
|||
function CoreTransport(args) {
|
||||
const events = new EventEmitter();
|
||||
const worker = new Worker(`${process.env.COMMIT_HASH}/scripts/worker.js`);
|
||||
const bridge = new Bridge(worker, window);
|
||||
const bridge = new Bridge(window, worker);
|
||||
|
||||
window.onCoreEvent = ({ name, args }) => {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in a new issue