chore: fixes to paste ui

This commit is contained in:
xuu
2023-11-08 13:44:28 -07:00
parent 9a26239aa7
commit 4ba7df70da
7 changed files with 16 additions and 14 deletions

View File

@@ -71,6 +71,8 @@ func (a *image) ServeHTTP(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusBadRequest)
return
}
dec := base64.NewDecoder(base64.StdEncoding, fd)
fd = io.NopCloser(dec)
}
length := 0