Spaces:
Sleeping
Sleeping
Update UI
Browse files- src/index.ts +7 -1
src/index.ts
CHANGED
|
@@ -10,4 +10,10 @@ async function main(): Promise<void> {
|
|
| 10 |
server.get("/", (_req, res) => {
|
| 11 |
res.sendFile("static/main.html");
|
| 12 |
})
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
server.get("/", (_req, res) => {
|
| 11 |
res.sendFile("static/main.html");
|
| 12 |
})
|
| 13 |
+
|
| 14 |
+
await modManager.createModEndpoints();
|
| 15 |
+
|
| 16 |
+
server.start(7860);
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
setImmediate(main);
|