mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-11-23 12:40:19 +01:00
REMOVE DEBUG LOG
This commit is contained in:
parent
64344fcf4d
commit
f4d00db5e1
1 changed files with 0 additions and 1 deletions
|
@ -217,7 +217,6 @@ func (s *Server) viewHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
|
|
||||||
if acceptsHTML(r.Header) {
|
if acceptsHTML(r.Header) {
|
||||||
if err := htmlTemplates.ExecuteTemplate(w, "index.html", data); err != nil {
|
if err := htmlTemplates.ExecuteTemplate(w, "index.html", data); err != nil {
|
||||||
s.logger.Println(err)
|
|
||||||
http.Error(w, err.Error(), http.StatusInternalServerError)
|
http.Error(w, err.Error(), http.StatusInternalServerError)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue