Sfoglia il codice sorgente

fixed notfoundhandler

tags/v1.0.0
Remco 9 anni fa
parent
commit
477e02fa24
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      transfersh-server/handlers.go

+ 1
- 0
transfersh-server/handlers.go Vedi File

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


Caricamento…
Annulla
Salva