mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
add http auth
This commit is contained in:
@@ -14,7 +14,7 @@ type requestI struct {
|
||||
Action string `json:"action,omitempty"`
|
||||
}
|
||||
|
||||
func SetupRoute(route *gin.Engine) {
|
||||
func SetupRoute(route *gin.RouterGroup) {
|
||||
route.GET("/echo", echo)
|
||||
route.GET("/shutdown", shutdown)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user