fix: add X-Api-Key header for captcha OCR requests
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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user