mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 06:50:01 -04:00
fix some jank
This commit is contained in:
parent
4f5ae7b18a
commit
db837b42c7
5 changed files with 44 additions and 9 deletions
|
@ -1,8 +1,9 @@
|
|||
import { config, decodeUrl, encodeUrl, rewriteHeaders } from "../../../shared";
|
||||
import { ScramjetClient } from "../../client";
|
||||
const nativeworker = Worker;
|
||||
|
||||
export default function (client: ScramjetClient, self: Self) {
|
||||
const worker = new Worker(config.sync);
|
||||
const worker = new nativeworker(config.sync);
|
||||
const ARGS = Symbol("xhr original args");
|
||||
const HEADERS = Symbol("xhr headers");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue