feat: Add Vercel deployment protection bypass support, enhance related error handling, and update documentation.

This commit is contained in:
CJACK
2026-02-16 22:06:41 +08:00
parent d70a0acaa8
commit eb470c33ba
4 changed files with 56 additions and 1 deletions

View File

@@ -77,3 +77,9 @@ DS2API_ADMIN_KEY=admin
# VERCEL_TOKEN=your-vercel-token
# VERCEL_PROJECT_ID=prj_xxxxxxxxxxxx
# VERCEL_TEAM_ID=team_xxxxxxxxxxxx
# Optional: Vercel deployment protection bypass secret.
# If deployment protection is enabled, DS2API will use this value as
# x-vercel-protection-bypass for internal Node->Go calls on Vercel.
# You can also use VERCEL_AUTOMATION_BYPASS_SECRET directly.
# DS2API_VERCEL_PROTECTION_BYPASS=your-bypass-secret