fixed submitting form

This commit is contained in:
2026-01-14 17:25:59 +01:00
parent 812f2a0824
commit 89f40ac854
2 changed files with 5 additions and 13 deletions

View File

@@ -7,9 +7,8 @@ import { getAll25 } from "./frontend.data.js";
router.post("/frontend", async (req, res) => {
console.log(req.body);
const data = await getAll25();
console.log(data);
res.status(200);
// 204 = "No Content"; beendet die Response sauber ohne Body
res.sendStatus(204);
});
export default router;