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, + }, }, } }