Explorar el Código

fixed notfoundhandler

tags/v1.0.0
Remco hace 9 años
padre
commit
477e02fa24
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      transfersh-server/handlers.go

+ 1
- 0
transfersh-server/handlers.go Ver fichero

@@ -102,6 +102,7 @@ func viewHandler(w http.ResponseWriter, r *http.Request) {
}

func notFoundHandler(w http.ResponseWriter, r *http.Request) {
http.Error(w, http.StatusText(404), 404)
}

func postHandler(w http.ResponseWriter, r *http.Request) {


Cargando…
Cancelar
Guardar