mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 06:20:02 -04:00
fix: scramjet git commit hard link
This commit is contained in:
parent
bacbc7e11e
commit
25ad5aff90
2 changed files with 2 additions and 2 deletions
|
@ -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]}`;
|
||||
|
|
|
@ -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`
|
||||
<div>
|
||||
|
@ -245,7 +246,7 @@ function BrowserApp() {
|
|||
<button on:click=${() => window.open(scramjet.encodeUrl(this.url))}>open</button>
|
||||
|
||||
<p class="version">
|
||||
<b>scramjet</b> ${$scramjet.version.version} <a href="https://github.com/MercuryWorkshop/scramjet/tree/${$scramjet.version.build}">${$scramjet.version.build}</a>
|
||||
<b>scramjet</b> ${$scramjet.version.version} <a href=${use(this.githubURL)}>${$scramjet.version.build}</a>
|
||||
</p>
|
||||
</div>
|
||||
${frame.frame}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue