We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77f4ed3 commit 9565987Copy full SHA for 9565987
1 file changed
cmd/server/main.go
@@ -113,6 +113,10 @@ func main() {
113
apiGroup.GET("/system/usage", systemHandler.GetUsage)
114
apiGroup.GET("/system/history", systemHandler.GetHistory)
115
116
+ // Command preview
117
+ commandHandler := api.NewCommandHandler(ffmpegService)
118
+ apiGroup.POST("/command/preview", commandHandler.PreviewCommand)
119
+
120
// WebSocket
121
apiGroup.GET("/ws/progress", wsHandler.HandleWebSocket)
122
}
0 commit comments