fix un proxy jank

This commit is contained in:
velzie 2024-07-30 14:16:17 -04:00
parent 98422f736d
commit 0fef6e8853
No known key found for this signature in database
GPG key ID: 048413F95F0DDE1F
3 changed files with 18 additions and 13 deletions

View file

@ -2,12 +2,12 @@ import { isworker } from "../..";
import { ScramjetClient } from "../../client";
import { BareClient } from "../../shared";
const bare = new BareClient();
export default function (client: ScramjetClient, self: typeof globalThis) {
// r58 please fix
if (isworker) return;
const bare = new BareClient();
client.Proxy("WebSocket", {
construct(ctx) {
ctx.return(