Explorar el Código

default handler change to p2p

master
patrick hace 6 años
padre
commit
f139c477a5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      fs_wrapper_handler.go

+ 1
- 1
fs_wrapper_handler.go Ver fichero

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

Cargando…
Cancelar
Guardar