From a339a9adceac33a576565afdfb2b126823ab04b5 Mon Sep 17 00:00:00 2001 From: admin <1297598740@qq.com> Date: Mon, 26 Jan 2026 15:43:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=20GitHub=20OAuth=20?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=EF=BC=8C=E5=AE=9E=E7=8E=B0=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E9=80=9A=E8=BF=87=20GitHub=20=E6=8E=88=E6=9D=83=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E5=8A=9F=E8=83=BD=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/service/github_oauth_service.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/internal/service/github_oauth_service.go b/internal/service/github_oauth_service.go index fe85d43..a06fee9 100644 --- a/internal/service/github_oauth_service.go +++ b/internal/service/github_oauth_service.go @@ -55,7 +55,10 @@ func NewGitHubOAuthService(userRepo *repository.UserRepository, authService *Aut authService: authService, cfg: cfg, httpClient: &http.Client{ - Timeout: 30 * time.Second, // 澧炲姞瓒呮椂鏃堕棿 + Timeout: 60 * time.Second, + Transport: &http.Transport{ + Proxy: http.ProxyFromEnvironment, + }, }, } }