add temp endpoint for db cleanup
This commit is contained in:
1 parent
3b53455343
commit
dd13fd6759
5 files changed
+77
-14
No files matched your search
@@ -26,6 +26,8 @@ func New(logger *slog.Logger, database db.Database, buildTime string, sha1ver st
|
||||
mux.HandleFunc("/api/event/vm/modify", h.VmModify)
|
||||
mux.HandleFunc("/api/event/vm/delete", h.VmDelete)
|
||||
mux.HandleFunc("/api/import/vm", h.VmImport)
|
||||
// temporary endpoint
|
||||
mux.HandleFunc("/api/cleanup/updates", h.UpdateCleanup)
|
||||
|
||||
return middleware.NewLoggingMiddleware(logger, mux)
|
||||
}
|
||||
Reference in new issue
Block a user