clean one log

master
Bel LaPointe 2020-02-19 14:37:47 -07:00
parent 02c0a4c137
commit 5a37a4f3ab
11 changed files with 2 additions and 2 deletions

0
.gitignore vendored Normal file → Executable file
View File

0
chaining Normal file → Executable file
View File

0
config/config.go Normal file → Executable file
View File

0
fproxy/new.go Normal file → Executable file
View File

0
fproxy/new_test.go Normal file → Executable file
View File

2
fproxy/serve.go Normal file → Executable file
View File

@ -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
} }

0
main.go Normal file → Executable file
View File

0
main_test.go Normal file → Executable file
View File

0
oldmain.go Normal file → Executable file
View File

0
ramdisk.sh Normal file → Executable file
View File

2
work.sh Normal file → Executable file
View File

@ -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