fix: scramjet git commit hard link

This commit is contained in:
Percs 2024-10-28 14:01:39 -05:00
parent bacbc7e11e
commit 25ad5aff90
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,6 @@ import { rewriteUrl } from "../../shared";
import { ScramjetClient } from "../client";
export default function (client: ScramjetClient, self: typeof globalThis) {
//TODO: this doesnt support request objects, do that later (i dont feel like it)
client.Proxy("CacheStorage.prototype.open", {
apply(ctx) {
ctx.args[0] = `${client.url.origin}@${ctx.args[0]}`;