chore: dev test
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
package server
|
||||
|
||||
import (
|
||||
"github.com/alist-org/alist/v3/cmd/args"
|
||||
"github.com/alist-org/alist/v3/internal/conf"
|
||||
"github.com/alist-org/alist/v3/internal/message"
|
||||
"github.com/alist-org/alist/v3/server/common"
|
||||
@ -31,6 +32,9 @@ func Init(r *gin.Engine) {
|
||||
|
||||
fs(auth.Group("/fs"))
|
||||
admin(auth.Group("/admin", middlewares.AuthAdmin))
|
||||
if args.Dev {
|
||||
dev(r.Group("/dev"))
|
||||
}
|
||||
}
|
||||
|
||||
func admin(g *gin.RouterGroup) {
|
||||
|
Reference in New Issue
Block a user