Browse Source

auto update script executed

tobychui 1 year ago
parent
commit
f549ec9e62
2 changed files with 3 additions and 0 deletions
  1. 3 0
      acme.go
  2. BIN
      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
zoraxy