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); });