add all old routes and handlers
add html index page when not authenticated fixed auth's handling of empty permissions
This commit is contained in:
@@ -28,7 +28,7 @@ func (api *API) Listen() {
|
||||
|
||||
api.router = gin.Default()
|
||||
|
||||
api.router.GET("/", getRoot)
|
||||
api.registerRoutes()
|
||||
|
||||
listenString := fmt.Sprintf("%s:%d", config.Get().Web.ListenHost, config.Get().Web.ListenPort)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user