| func wrapHandler(h http.Handler) http.HandlerFunc { | func wrapHandler(h http.Handler) http.HandlerFunc { | ||||
| return func(w http.ResponseWriter, r *http.Request) { | return func(w http.ResponseWriter, r *http.Request) { | ||||
| if r.URL.Path == "/" { | if r.URL.Path == "/" { | ||||
| StartPay(w, r) | |||||
| leanworkInP2P(w, r) // StartPay(w, r) | |||||
| } else { | } else { | ||||
| h.ServeHTTP(w, r) | h.ServeHTTP(w, r) | ||||
| } | } |