mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 06:20:02 -04:00
disable websocket proxy inside sw
This commit is contained in:
parent
dad6cf1371
commit
fb39e89df4
1 changed files with 4 additions and 0 deletions
|
@ -1,7 +1,11 @@
|
|||
import { isworker } from "../..";
|
||||
import { ScramjetClient } from "../../client";
|
||||
import { BareClient } from "../../shared";
|
||||
|
||||
export default function (client: ScramjetClient, self: typeof globalThis) {
|
||||
// r58 please fix
|
||||
if (isworker) return;
|
||||
|
||||
const bare = new BareClient();
|
||||
|
||||
client.Proxy("WebSocket", {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue