Use new account update API

This commit is contained in:
Pixeldrain-Server committed 2022-11-01 16:56:46 +01:00
1 parent 666291a1d6
commit cd8bf8afe4
10 files changed
+162 -111

No files matched your search

+5
View File
@@ -93,6 +93,11 @@ func (wc *WebController) serveFileViewer(w http.ResponseWriter, r *http.Request,
return
}
if files[0].SkipFileViewer {
http.Redirect(w, r, "/api/file/"+p.ByName("id"), http.StatusSeeOther)
return
}
templateData.OGData = wc.metadataFromFile(files[0].FileInfo)
var vd = fileViewerData{