mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-10-23 00:01:22 +00:00
why???
This commit is contained in:
1 parent
1c38469f16
commit
e9ad14d8db
1 file changed
-4
@@ -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);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user