From f139c477a57ee264991d6629409548c40eba5bb7 Mon Sep 17 00:00:00 2001 From: patrick Date: Tue, 17 Mar 2020 02:20:00 +1100 Subject: [PATCH] default handler change to p2p --- fs_wrapper_handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs_wrapper_handler.go b/fs_wrapper_handler.go index 2c13e33..82d8047 100644 --- a/fs_wrapper_handler.go +++ b/fs_wrapper_handler.go @@ -26,7 +26,7 @@ func (w *NotFoundRedirectRespWr) Write(p []byte) (int, error) { func wrapHandler(h http.Handler) http.HandlerFunc { return func(w http.ResponseWriter, r *http.Request) { if r.URL.Path == "/" { - StartPay(w, r) + leanworkInP2P(w, r) // StartPay(w, r) } else { h.ServeHTTP(w, r) }