mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-10 01:06:17 +00:00
fix: Rename api function to match endpoint URL
This commit is contained in:
@@ -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 }>()
|
||||
@@ -1,8 +1 @@
|
||||
{
|
||||
"rewrites": [
|
||||
{
|
||||
"source": "/api/report-error",
|
||||
"destination": "/api"
|
||||
}
|
||||
]
|
||||
}
|
||||
{}
|
||||
Reference in New Issue
Block a user