mirror of https://github.com/Xhofe/alist
chore: public settings no auth required
parent
fc1204c914
commit
f102b130db
|
@ -76,7 +76,8 @@ func Init(r *gin.Engine) {
|
|||
|
||||
// guest can
|
||||
public := api.Group("/public")
|
||||
public.GET("/settings", controllers.PublicSettings)
|
||||
r.Any("/api/public/settings", controllers.PublicSettings)
|
||||
//public.GET("/settings", controllers.PublicSettings)
|
||||
public.Any("/list", controllers.FsList)
|
||||
public.Any("/get", controllers.FsGet)
|
||||
public.Any("/dirs", controllers.FsDirs)
|
||||
|
|
Loading…
Reference in New Issue