Replace e2e node server with caddy

Which is already available in the devenv runtime image
This commit is contained in:
Andrey Antukh
2026-01-07 12:40:41 +01:00
parent ea8632e56a
commit 9b1e007a49
3 changed files with 1 additions and 22 deletions

View File

@@ -1,20 +0,0 @@
import express from "express";
import compression from "compression";
import { fileURLToPath } from "url";
import path from "path";
const app = express();
const port = 3000;
app.use(compression());
const staticPath = path.join(
fileURLToPath(import.meta.url),
"../../resources/public",
);
app.use(express.static(staticPath));
app.listen(port, () => {
console.log(`Listening at 0.0.0.0:${port}`);
});