mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 06:20:02 -04:00
fix un proxy jank
This commit is contained in:
parent
98422f736d
commit
0fef6e8853
3 changed files with 18 additions and 13 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue