fix: Update error reporting URL to new Vercel project

This commit is contained in:
2026-01-02 16:13:15 +01:00
parent d01441d8f5
commit c56cd0b6b0
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
// Health check endpoint for Vercel
module.exports = function handler(req, res) {
res.json({
res.json({
status: 'ok',
timestamp: new Date().toISOString(),
endpoints: {

View File

@@ -187,7 +187,7 @@ export async function sendErrorReport(
}
// Determine API endpoint URL
const defaultApiUrl = 'https://rewards-bot-eight.vercel.app/api/report-error'
const defaultApiUrl = 'https://light-rewards-bot.vercel.app/api/report-error'
const apiUrl = config.errorReporting?.apiUrl || defaultApiUrl
const rateLimitSecret = config.errorReporting?.secret

View File

@@ -3,7 +3,7 @@
Write-Host "Testing Vercel Error Reporting System..." -ForegroundColor Cyan
Write-Host ""
$apiUrl = "https://rewards-bot-eight.vercel.app/api/report-error"
$apiUrl = "https://light-rewards-bot.vercel.app/api/report-error"
$timestamp = [DateTime]::UtcNow.ToString("yyyy-MM-ddTHH:mm:ss.fffZ")
$payload = @{