clean one log
parent
02c0a4c137
commit
5a37a4f3ab
|
|
@ -108,7 +108,7 @@ func (fp *FProxy) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if contains(fp.bypass, baseHost(r.URL.Host)) {
|
if contains(fp.bypass, baseHost(r.URL.Host)) {
|
||||||
log.Print(fp.httpport, "passing through", r.URL)
|
log.Printf("%v: %v: %v", fp.httpport, "passing through", r.URL)
|
||||||
fp.Passthrough(w, r)
|
fp.Passthrough(w, r)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,4 +11,4 @@ if [ ! -d /Volumes/bldisk ]; then
|
||||||
fi
|
fi
|
||||||
port="${1:-9181}"
|
port="${1:-9181}"
|
||||||
echo Proxy on :$port
|
echo Proxy on :$port
|
||||||
go build -o /tmp/out && /tmp/out -fromcrt "" -port $port -secret "$(cat /Volumes/bldisk/secret)" -toaddr https://bel.house:41312 -bypass youtube.com,,googlevideo.com,,youtu.be -whitelist 192.168.0.86,,scratch.com
|
go build -o /tmp/out && /tmp/out -fromcrt "" -port $port -secret "$(cat /Volumes/bldisk/secret)" -toaddr https://bel.house:41312 -bypass youtube.com,,googlevideo.com,,youtu.be -whitelist 192.168.0.86,,scratch.com,,192.168.0.1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue