Endpunkt auch unter /kontakt (für Pfad-Routing unter /api), Absender webseite@atilgan-gartenbau.de in .env.example

This commit is contained in:
kerimatilgan committed 2026-07-03 15:26:10 +02:00
1 parent a617846aa9
commit ae44803629
2 files changed
+9 -8

No files matched your search

+1 -1
View File
@@ -63,7 +63,7 @@ app.get('/', (_req, res) => res.json({ ok: true, service: 'kontakt-api' }));
app.get('/health', (_req, res) => res.json({ ok: true }));
// --- Formular-Endpunkt ---
app.post('/api/kontakt', limiter, async (req, res) => {
app.post(['/api/kontakt', '/kontakt'], limiter, async (req, res) => {
try {
const b = req.body || {};