diff --git a/internal/http/handlers.go b/internal/http/handlers.go index 4887aac..2b61ab4 100644 --- a/internal/http/handlers.go +++ b/internal/http/handlers.go @@ -210,7 +210,7 @@ func (h *UploadHandlers) Delete(w http.ResponseWriter, r *http.Request) { h.logDelete.Printf("| %s | %s | %s | %s", r.Header.Get("X-Real-IP"), netTyp, saltedHash, r.UserAgent()) w.WriteHeader(http.StatusNoContent) - web.Deleted(utils.MainSite(r.Host), site) + web.Deleted(utils.MainSite(r.Host)) } func NotFound(w http.ResponseWriter, r *http.Request) { diff --git a/web/templates/deleted.jade b/web/templates/deleted.jade index d7eb0a5..2962b4d 100644 --- a/web/templates/deleted.jade +++ b/web/templates/deleted.jade @@ -4,7 +4,7 @@ block header h1 Deleted block body - :go:func Deleted(mainSite, site string) + :go:func Deleted(mainSite string) section h2 File was successfully deleted. center