From 89002cc4a5f31ac623f359e7c89de398f37ac1ff Mon Sep 17 00:00:00 2001 From: Gnlow Date: Fri, 1 Dec 2023 11:21:55 +0900 Subject: [PATCH] fix: script handler path --- mod.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod.ts b/mod.ts index f48bc21..56c9035 100644 --- a/mod.ts +++ b/mod.ts @@ -48,7 +48,7 @@ const scriptHandler = async (c: Context) => { return { kind: "module", specifier, - content: await Deno.readTextFile(fromFileUrl(specifier)), + content: await Deno.readTextFile("." + url.pathname), } } else { return {