mirror of
https://github.com/hackdiaz-dev/free-turn-proxy.git
synced 2026-10-12 09:41:53 +02:00
fix(captcha): слать баннер ручной капчи в логгер, а не в stdout
This commit is contained in:
@@ -384,12 +384,8 @@ func runCaptchaServerAndWait(ctx context.Context, handler http.Handler, captchaU
|
||||
}
|
||||
}()
|
||||
|
||||
fmt.Println("\n==============================================")
|
||||
fmt.Println("ACTION REQUIRED: MANUAL CAPTCHA SOLVING NEEDED")
|
||||
fmt.Println("If your browser didn't open automatically,")
|
||||
fmt.Println("manually open this URL: " + localCaptchaOrigin())
|
||||
fmt.Println("==============================================")
|
||||
fmt.Println()
|
||||
Log().Warnf("%s: ACTION REQUIRED: manual captcha solving needed", logPrefix)
|
||||
Log().Warnf("%s: if the browser did not open, go to %s", logPrefix, localCaptchaOrigin())
|
||||
|
||||
present(captchaURL)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user