diff --git a/cmd/dwelling-upload/main.go b/cmd/dwelling-upload/main.go index 73dd59d..a142a0e 100644 --- a/cmd/dwelling-upload/main.go +++ b/cmd/dwelling-upload/main.go @@ -91,7 +91,7 @@ func main() { srv.ServeStatic("/assets/*filepath", hand.AssetsFS()) srv.GET("/", hand.Index) srv.POST("/", hand.Upload) - srv.POST("/:hash/delete", hand.Delete) + srv.POST("/delete", hand.Delete) srv.GET("/f/:hash/:name", hand.Download) srv.DELETE("/:hash", hand.Delete)