From 68fe43b981e63a10a83171137d68480f56beb86f Mon Sep 17 00:00:00 2001 From: Seth Trowbridge Date: Sat, 22 Feb 2025 17:48:39 -0500 Subject: [PATCH] path fix --- scaffold.ts | 3 ++- scaffold/index.html | 16 ++++++++++++---- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/scaffold.ts b/scaffold.ts index 814cea8..9552074 100644 --- a/scaffold.ts +++ b/scaffold.ts @@ -1,4 +1,5 @@ -const hostedRoot = import.meta.resolve("../").slice(0, -1); +const hostedRoot = import.meta.resolve("./").slice(0, -1); +console.log("Checking", hostedRoot); async function Download(file:string, processor = (text:string)=>text) { const pathHosted = hostedRoot + "/scaffold/" + file; diff --git a/scaffold/index.html b/scaffold/index.html index 4ac28b7..2aa450d 100644 --- a/scaffold/index.html +++ b/scaffold/index.html @@ -2,10 +2,18 @@ - - - - + + + + \ No newline at end of file