mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 14:30:02 -04:00
don't create a worker that doesnt fucking exist
This commit is contained in:
parent
0f1fa16229
commit
0906dd78a9
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ if (self.Worker) {
|
||||||
export default function (client: ScramjetClient, self: Self) {
|
export default function (client: ScramjetClient, self: Self) {
|
||||||
let worker;
|
let worker;
|
||||||
if (self.Worker) {
|
if (self.Worker) {
|
||||||
worker = new nativeworker(config.sync);
|
worker = new nativeworker(config.files.sync);
|
||||||
}
|
}
|
||||||
const ARGS = Symbol("xhr original args");
|
const ARGS = Symbol("xhr original args");
|
||||||
const HEADERS = Symbol("xhr headers");
|
const HEADERS = Symbol("xhr headers");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue