mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 23:10:02 -04:00
chore: prettier
This commit is contained in:
parent
b3eeb91a2d
commit
9db2842c95
4 changed files with 19 additions and 19 deletions
|
@ -76,7 +76,7 @@ export class ScramjetServiceWorker extends EventTarget {
|
|||
clients = clients.filter(
|
||||
(client) =>
|
||||
client.type === "window" &&
|
||||
!new URL(client.url).pathname.startsWith(this.config.prefix),
|
||||
!new URL(client.url).pathname.startsWith(this.config.prefix)
|
||||
);
|
||||
|
||||
if (clients.length === 0) throw new Error("No clients found");
|
||||
|
@ -99,7 +99,7 @@ export class ScramjetServiceWorker extends EventTarget {
|
|||
clients = clients.filter(
|
||||
(client) =>
|
||||
client.type === "window" &&
|
||||
!new URL(client.url).pathname.startsWith(this.config.prefix),
|
||||
!new URL(client.url).pathname.startsWith(this.config.prefix)
|
||||
);
|
||||
|
||||
if (clients.length === 0) throw new Error("No clients found");
|
||||
|
@ -130,7 +130,7 @@ export class ScramjetServiceWorker extends EventTarget {
|
|||
const type = new URL(request.url).searchParams.get("type");
|
||||
|
||||
const origin = new URL(
|
||||
decodeURIComponent(new URL(request.url).searchParams.get("origin")),
|
||||
decodeURIComponent(new URL(request.url).searchParams.get("origin"))
|
||||
);
|
||||
|
||||
let promise = this.dataworkerpromises[id];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue