mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-10 17:26: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 type { VercelRequest, VercelResponse } from '@vercel/node';
|
||||||
import express from 'express'
|
|
||||||
|
|
||||||
// In-memory rate limiting for error reporting
|
// In-memory rate limiting for error reporting
|
||||||
const rateLimitMap = new Map<string, { count: number; resetTime: number }>()
|
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