1
0

Oops, that site argument isn't needed.

This commit is contained in:
Alexander Andreev 2023-05-21 20:25:26 +04:00
parent 15dd184106
commit c53dab9e6b
Signed by: Arav
GPG Key ID: D22A817D95815393
2 changed files with 2 additions and 2 deletions

View File

@ -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()) h.logDelete.Printf("| %s | %s | %s | %s", r.Header.Get("X-Real-IP"), netTyp, saltedHash, r.UserAgent())
w.WriteHeader(http.StatusNoContent) 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) { func NotFound(w http.ResponseWriter, r *http.Request) {

View File

@ -4,7 +4,7 @@ block header
h1 Deleted h1 Deleted
block body block body
:go:func Deleted(mainSite, site string) :go:func Deleted(mainSite string)
section section
h2 File was successfully deleted. h2 File was successfully deleted.
center center