update auf public download
All checks were successful
release-tag / release-image (push) Successful in 1m40s
All checks were successful
release-tag / release-image (push) Successful in 1m40s
This commit is contained in:
@@ -199,7 +199,7 @@ func Register(mux *http.ServeMux, d Deps) {
|
||||
_ = d.Mesh.SyncNow(r.Context()) // prompt push (best effort)
|
||||
}
|
||||
// Nach Aktion Items partial zurückgeben (HTMX swap)
|
||||
http.Redirect(w, r, "/admin/items", http.StatusSeeOther)
|
||||
http.Redirect(w, r, "/admin", http.StatusSeeOther)
|
||||
})
|
||||
|
||||
mux.HandleFunc("/admin/items/rename", func(w http.ResponseWriter, r *http.Request) {
|
||||
@@ -213,7 +213,7 @@ func Register(mux *http.ServeMux, d Deps) {
|
||||
_, _ = d.Store.Rename(r.Context(), filesvc.ID(id), newName)
|
||||
_ = d.Mesh.SyncNow(r.Context())
|
||||
}
|
||||
http.Redirect(w, r, "/admin/items", http.StatusSeeOther)
|
||||
http.Redirect(w, r, "/admin", http.StatusSeeOther) //hier test nicht mehr /admin/items
|
||||
})
|
||||
|
||||
mux.HandleFunc("/admin/items/delete", func(w http.ResponseWriter, r *http.Request) {
|
||||
@@ -226,7 +226,7 @@ func Register(mux *http.ServeMux, d Deps) {
|
||||
_ = d.Blob.Delete(r.Context(), int64(id))
|
||||
_ = d.Mesh.SyncNow(r.Context())
|
||||
}
|
||||
http.Redirect(w, r, "/admin/items", http.StatusSeeOther)
|
||||
http.Redirect(w, r, "/admin", http.StatusSeeOther)
|
||||
})
|
||||
|
||||
mux.HandleFunc("/admin/mesh/syncnow", func(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
Reference in New Issue
Block a user