chore: upgrade Express to 5.2.1

This commit is contained in:
tdurieux
2026-09-08 16:22:23 +02:00
parent a05f42ad9f
commit 8ad0ec65f0
13 changed files with 996 additions and 664 deletions
+3 -2
View File
@@ -33,7 +33,7 @@ app.get("/healthcheck", async (_, res) => {
res.json({ status: "ok" });
});
app.all("*", (req, res) => {
app.all("/{*path}", (req, res) => {
handleError(
new AnonymousError("file_not_found", {
httpStatus: 404,
@@ -43,6 +43,7 @@ app.all("*", (req, res) => {
req
);
});
app.listen(config.PORT, () => {
app.listen(config.PORT, (error?: Error) => {
if (error) throw error;
logger.info("streamer started", { port: config.PORT });
});