feat: show image

This commit is contained in:
redglow
2026-06-21 15:04:11 +02:00
parent 3ea13bf9c9
commit eb9f3deac8
3 changed files with 49 additions and 15 deletions
+2
View File
@@ -76,6 +76,8 @@ app.delete("/api/announcements/:announcementId", async (req, res) => {
res.status(204).send();
});
app.use("/images", express.static(baseUploadsFolder));
ViteExpress.listen(app, 3000, () =>
console.log("Server is listening on port 3000..."),
);