aboutsummaryrefslogtreecommitdiff
path: root/server.js
diff options
context:
space:
mode:
authoramy <[email protected]>2023-02-06 18:50:01 -0600
committeramy <[email protected]>2023-02-06 18:50:01 -0600
commit5bbb0c0744ba9cf16049f53ccc9baec07c6fa079 (patch)
tree5b09f0484ff4c544e16ad789666058573e00e526 /server.js
parent94125a897de3399c6a0bf824b38fad43693b8a28 (diff)
some fixs and additions idk lol
Diffstat (limited to 'server.js')
-rw-r--r--server.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server.js b/server.js
index 07ad14e..fd977ee 100644
--- a/server.js
+++ b/server.js
@@ -4,10 +4,10 @@ const app = express();
const port = 8008;
app.get("/tty", (req, res) => {
- res.sendFile(__dirname + "./html/tty.html");
+ res.sendFile(__dirname + "/html/tty.html");
});
app.get("/display", (req, res) => {
- res.sendFile(__dirname + "./html/display.html");
+ res.sendFile(__dirname + "/html/display.html");
});
app.use("/src", express.static("src"));
app.listen(port, () => {