mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-10 01:29:58 +00:00
Move CastManager to cast/
This commit is contained in:
@@ -45,9 +45,7 @@ export function ensureInit(): Promise<TypedMessagePort<Message>> {
|
||||
* URL.
|
||||
*/
|
||||
if (window.location.protocol === "moz-extension:") {
|
||||
const { default: CastManager } = await import(
|
||||
"../background/CastManager"
|
||||
);
|
||||
const { default: CastManager } = await import("./CastManager");
|
||||
|
||||
// port2 will post bridge messages to port 1
|
||||
await CastManager.init();
|
||||
|
||||
Reference in New Issue
Block a user