fix: cannot parse input config

mod: set gin release mode
fix: input item start and end args not work
fix: cannot auto play next video
This commit is contained in:
2024-10-24 22:29:03 +08:00
parent 104195b977
commit 6093f5d36b
7 changed files with 91 additions and 60 deletions

View File

@@ -2,7 +2,6 @@ package websocket
import (
"live-streamer/streamer"
"os"
)
type RequestType string
@@ -32,6 +31,5 @@ func RequestHandler(reqType RequestType) {
streamer.GlobalStreamer.Prev()
case TypeQuit:
streamer.GlobalStreamer.Close()
os.Exit(0)
}
}