This commit is contained in:
MathMan05 committed 2025-12-16 11:04:28 -06:00
1 parent 1c38469f16
commit e9ad14d8db
1 file changed
-4
-4
View File
@@ -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);
});