mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-10 17:26:17 +00:00
fix: Update error reporting URL to new Vercel project
This commit is contained in:
@@ -187,7 +187,7 @@ export async function sendErrorReport(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Determine API endpoint URL
|
// 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 apiUrl = config.errorReporting?.apiUrl || defaultApiUrl
|
||||||
const rateLimitSecret = config.errorReporting?.secret
|
const rateLimitSecret = config.errorReporting?.secret
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
Write-Host "Testing Vercel Error Reporting System..." -ForegroundColor Cyan
|
Write-Host "Testing Vercel Error Reporting System..." -ForegroundColor Cyan
|
||||||
Write-Host ""
|
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")
|
$timestamp = [DateTime]::UtcNow.ToString("yyyy-MM-ddTHH:mm:ss.fffZ")
|
||||||
|
|
||||||
$payload = @{
|
$payload = @{
|
||||||
|
|||||||
Reference in New Issue
Block a user