|
@@ -41,7 +41,6 @@ func (s *Server) downloadExternalUI() error {
|
|
|
} else {
|
|
|
downloadURL = "https://github.com/MetaCubeX/Yacd-meta/archive/gh-pages.zip"
|
|
|
}
|
|
|
- s.logger.Info("downloading external ui")
|
|
|
var detour adapter.Outbound
|
|
|
if s.externalUIDownloadDetour != "" {
|
|
|
outbound, loaded := s.outbound.Outbound(s.externalUIDownloadDetour)
|
|
@@ -53,6 +52,7 @@ func (s *Server) downloadExternalUI() error {
|
|
|
outbound := s.outbound.Default()
|
|
|
detour = outbound
|
|
|
}
|
|
|
+ s.logger.Info("downloading external ui using outbound/", detour.Type(), "[", detour.Tag(), "]")
|
|
|
httpClient := &http.Client{
|
|
|
Transport: &http.Transport{
|
|
|
ForceAttemptHTTP2: true,
|