mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2020-11-18 19:53:40 -08:00
REMOVE DEBUG LOG
This commit is contained in:
parent
64344fcf4d
commit
f4d00db5e1
@ -217,7 +217,6 @@ func (s *Server) viewHandler(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
if acceptsHTML(r.Header) {
|
||||
if err := htmlTemplates.ExecuteTemplate(w, "index.html", data); err != nil {
|
||||
s.logger.Println(err)
|
||||
http.Error(w, err.Error(), http.StatusInternalServerError)
|
||||
return
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user