fix: add X-Api-Key header for captcha OCR requests
ci/woodpecker/push/build Pipeline was canceled
ci/woodpecker/tag/build Pipeline was successful

The captcha OCR service now requires X-Api-Key authentication.
Add captcha.apiKey config option and pass it as header in all
OCR-related API calls (ocr, semiOcr, calc).
This commit is contained in:
becomer
2026-07-01 20:22:03 +08:00
parent 2879336ce4
commit ecfa50359b
3 changed files with 8 additions and 3 deletions
+1
View File
@@ -38,6 +38,7 @@ mode = "dev"
[captcha]
#baseUrl = "http://captcha-resolver.out"
baseUrl = "http://likedream-go-captcha:8890"
apiKey = "baca122..."
[redis]
url = "redis://:jhkdjhkjdhsIUTYURTU_pEGmFP@database.out:56379"