From e9ad14d8dbdf510761cf9de7a777513f7a34d64f Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Tue, 16 Dec 2025 11:04:28 -0600 Subject: [PATCH] why??? --- src/index.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/index.ts b/src/index.ts index 83ce3a8..b8734ec 100644 --- a/src/index.ts +++ b/src/index.ts @@ -124,10 +124,6 @@ const app = http.createServer(async (req, res) => { sendFile(path.join(__dirname, "webpage", "template.html")); return; } - if (pathstr === "index.html") { - sendFile(path.join(__dirname, "webpage", "app.html")); - return; - } const filePath = await combinePath("/webpage/" + pathstr, true, pathstr); sendFile(filePath); });