add view page

This commit is contained in:
2026-03-21 20:02:00 +01:00
parent dd044cf5d0
commit a3348e8795
8 changed files with 225 additions and 12 deletions

View File

@@ -10,8 +10,9 @@ func RegisterRoutes(r *gin.RouterGroup, h *Handler) {
files := r.Group("/files")
files.POST("/upload", h.Upload)
files.GET("/download/:id", h.Download)
//files.GET("/download/:id", h.Download)
files.GET("/view/:id", h.View)
files.GET("/delete/:del_id", h.Delete)
adminRoutes := files.Group("/admin")