Procházet zdrojové kódy

fixed notfoundhandler

tags/v1.0.0
Remco před 9 roky
rodič
revize
477e02fa24
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. +1
    -0
      transfersh-server/handlers.go

+ 1
- 0
transfersh-server/handlers.go Zobrazit soubor

@@ -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) {


Načítá se…
Zrušit
Uložit