mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-08 13:40:55 +08:00
添加otp说明文字
This commit is contained in:
@@ -192,7 +192,7 @@ func LinkTunnel(w http.ResponseWriter, r *http.Request) {
|
||||
hClone := w.Header().Clone()
|
||||
buf := &bytes.Buffer{}
|
||||
_ = hClone.Write(buf)
|
||||
base.Trace("LinkTunnel Response Header:", buf.String())
|
||||
base.Debug("LinkTunnel Response Header:", buf.String())
|
||||
|
||||
hj := w.(http.Hijacker)
|
||||
conn, bufRW, err := hj.Hijack()
|
||||
|
@@ -119,7 +119,7 @@ func notFound(w http.ResponseWriter, r *http.Request) {
|
||||
// fmt.Println(r.RemoteAddr)
|
||||
if base.GetLogLevel() == base.LogLevelTrace {
|
||||
hd, _ := httputil.DumpRequest(r, true)
|
||||
base.Trace("NotFound: ", string(hd))
|
||||
base.Trace("NotFound: ", r.RemoteAddr, string(hd))
|
||||
}
|
||||
|
||||
w.WriteHeader(http.StatusNotFound)
|
||||
|
Reference in New Issue
Block a user