diff --git a/handlers/proxy/apt_proxy_controller.go b/handlers/proxy/apt_proxy_controller.go index fbb1cfe..44f7d40 100644 --- a/handlers/proxy/apt_proxy_controller.go +++ b/handlers/proxy/apt_proxy_controller.go @@ -51,7 +51,7 @@ func AptProxy(c *gin.Context) { // Get the data proxy := config.Proxies[pathOs] for s, server := range proxy { - fmt.Printf("for moon %s\n", s) + fmt.Printf("for moon %d\n", s) resp, err := http.Get(helpers.JoinURL(server.URL, requestPath)) if err != nil { log.Fatal(err) diff --git a/handlers/proxy/maven_proxy_controller.go b/handlers/proxy/maven_proxy_controller.go index 4c0b19d..41ba4e4 100644 --- a/handlers/proxy/maven_proxy_controller.go +++ b/handlers/proxy/maven_proxy_controller.go @@ -67,7 +67,7 @@ func MavenProxy(c *gin.Context) { fmt.Println(len(config.Proxies)) for s, server := range config.Proxies { - fmt.Printf("for moon %s\n", s) + fmt.Printf("for moon %d\n", s) resp, err := http.Get(helpers.JoinURL(server.Url, requestPath)) if err != nil { log.Fatal(err)