From 25ad5aff90fd57846e9ab0a720c3835c2f190f9b Mon Sep 17 00:00:00 2001 From: Percs <83934299+Percslol@users.noreply.github.com> Date: Mon, 28 Oct 2024 14:01:39 -0500 Subject: [PATCH] fix: scramjet git commit hard link --- src/client/shared/caches.ts | 1 - static/ui.js | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/shared/caches.ts b/src/client/shared/caches.ts index 6c62df6..aaef53f 100644 --- a/src/client/shared/caches.ts +++ b/src/client/shared/caches.ts @@ -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]}`; diff --git a/static/ui.js b/static/ui.js index 2f797de..671921b 100644 --- a/static/ui.js +++ b/static/ui.js @@ -228,6 +228,7 @@ function BrowserApp() { const cfg = h(Config); document.body.appendChild(cfg); + this.githubURL = `https://github.com/MercuryWorkshop/scramjet/tree/${$scramjet.version.build}`; return html`
- scramjet ${$scramjet.version.version} ${$scramjet.version.build} + scramjet ${$scramjet.version.version} ${$scramjet.version.build}