Remove cancel

This commit is contained in:
Carl Pearson
2024-09-20 05:20:29 -06:00
parent 62ed290570
commit 1b229f7417
3 changed files with 1 additions and 17 deletions

View File

@@ -101,14 +101,13 @@ func main() {
e.POST("/download", downloadPostHandler, authMiddleware)
e.GET("/videos", videosHandler, authMiddleware)
e.GET("/video/:id", videoHandler, authMiddleware)
e.POST("/video/:id/cancel", videoCancelHandler, authMiddleware)
e.POST("/video/:id/restart", videoRestartHandler, authMiddleware)
e.POST("/video/:id/delete", videoDeleteHandler, authMiddleware)
e.GET("/temp/:token", tempHandler)
staticGroup := e.Group("/data")
staticGroup.Use(authMiddleware)
staticGroup.Static("/", getDataDir())
e.GET("/temp/:token", tempHandler)
secure := getSecure()