Endpunkt auch unter /kontakt (für Pfad-Routing unter /api), Absender webseite@atilgan-gartenbau.de in .env.example
This commit is contained in:
1 parent
a617846aa9
commit
ae44803629
2 files changed
+9
-8
No files matched your search
@@ -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 || {};
|
||||
|
||||
|
||||
Reference in new issue
Block a user