Procházet zdrojové kódy

auto update script executed

tobychui před 1 rokem
rodič
revize
f549ec9e62
2 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 3 0
      acme.go
  2. binární
      zoraxy

+ 3 - 0
acme.go

@@ -57,15 +57,18 @@ func acmeRegisterSpecialRoutingRule() {
 			req.Host = r.Host
 			if err != nil {
 				fmt.Printf("client: could not create request: %s\n", err)
+				return
 			}
 			res, err := http.DefaultClient.Do(req)
 			if err != nil {
 				fmt.Printf("client: error making http request: %s\n", err)
+				return
 			}
 
 			resBody, err := ioutil.ReadAll(res.Body)
 			if err != nil {
 				fmt.Printf("error reading: %s\n", err)
+				return
 			}
 			w.Write(resBody)
 		},

binární
zoraxy