Shush pls
This commit is contained in:
4
main.go
4
main.go
@@ -65,11 +65,11 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
if toWhitelist(s.bypass, r.URL.Host) {
|
||||
logger.Log("Bypassing", r.URL.String())
|
||||
//logger.Log("Bypassing", r.URL.String())
|
||||
s.passthrough(w, r)
|
||||
return
|
||||
}
|
||||
logger.Log("Proxying", r.URL.String())
|
||||
//logger.Log("Proxying", r.URL.String())
|
||||
// proxy via stuncaddsies
|
||||
s.handleHTTP(w, r)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user