mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 15:00:01 -04:00
prettier
This commit is contained in:
parent
e789a14592
commit
91f8d6f6b7
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ export default function (client: ScramjetClient, self: typeof globalThis) {
|
||||||
ctx.args[0] = encodeUrl(ctx.args[0].toString());
|
ctx.args[0] = encodeUrl(ctx.args[0].toString());
|
||||||
} else if (ctx.args[0] instanceof Request && ctx.args[0].url) {
|
} else if (ctx.args[0] instanceof Request && ctx.args[0].url) {
|
||||||
Object.defineProperty(ctx.args[0], "url", {
|
Object.defineProperty(ctx.args[0], "url", {
|
||||||
value: encodeUrl(ctx.args[0].url)
|
value: encodeUrl(ctx.args[0].url),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue