blob: 9a6713f1914559f05d539108f46d4795c7321454 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//temp server
const express = require("express");
const app = express();
const port = 8008;
app.get("/tty", (req, res) => {
res.sendFile(__dirname + "/html/tty.html");
});
app.get("/display", (req, res) => {
res.sendFile(__dirname + "/html/display.html");
});
app.use("/src", express.static("src"));
app.listen(port, () => {
console.log(`http://localhost:${port}`);
});
|