Added static assets serving in the self-hosted example

This commit is contained in:
Alexander Cerutti
2025-10-31 01:13:06 +01:00
parent 6a9d8f3504
commit c142a8f964
2 changed files with 1 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 KiB

View File

@@ -8,6 +8,7 @@ import express from "express";
export const app = express(); export const app = express();
app.use(express.json()); app.use(express.json());
app.use(express.static("public"));
app.listen(8080, "0.0.0.0", () => { app.listen(8080, "0.0.0.0", () => {
console.log("Webserver started on port 8080"); console.log("Webserver started on port 8080");