disable websocket proxy inside sw

This commit is contained in:
velzie 2024-07-30 08:18:41 -04:00
parent dad6cf1371
commit fb39e89df4
No known key found for this signature in database
GPG key ID: 048413F95F0DDE1F

View file

@ -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", {