build 6
This commit is contained in:
1
main.go
1
main.go
@@ -94,6 +94,7 @@ func proxy(w http.ResponseWriter, r *http.Request, client *http.Client, pathname
|
|||||||
}
|
}
|
||||||
res, e := client.Do(req)
|
res, e := client.Do(req)
|
||||||
if e != nil {
|
if e != nil {
|
||||||
|
fmt.Println("Proxy Error: ", pathname, e)
|
||||||
http.Error(w, e.Error(), http.StatusOK)
|
http.Error(w, e.Error(), http.StatusOK)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user