fix: Rename api function to match endpoint URL

This commit is contained in:
2026-01-02 15:44:54 +01:00
parent 1182a858a9
commit 0f7f9e88d9
2 changed files with 7 additions and 15 deletions

View File

@@ -1,5 +1,4 @@
import type { VercelRequest, VercelResponse } from '@vercel/node'
import express from 'express'
import type { VercelRequest, VercelResponse } from '@vercel/node';
// In-memory rate limiting for error reporting
const rateLimitMap = new Map<string, { count: number; resetTime: number }>()

View File

@@ -1,8 +1 @@
{
"rewrites": [
{
"source": "/api/report-error",
"destination": "/api"
}
]
}
{}