feat: Implement Vercel environment detection and pause settings auto-fetch after consecutive failures to prevent excessive API calls.

This commit is contained in:
CJACK
2026-02-20 03:22:27 +08:00
parent 1d2a6bf281
commit 2781951ce7
7 changed files with 203 additions and 45 deletions

View File

@@ -38,6 +38,18 @@
"source": "/admin/config",
"destination": "/api/index"
},
{
"source": "/admin/config/(.*)",
"destination": "/api/index"
},
{
"source": "/admin/settings",
"destination": "/api/index"
},
{
"source": "/admin/settings/(.*)",
"destination": "/api/index"
},
{
"source": "/admin/keys(.*)",
"destination": "/api/index"