chore: public settings no auth required

refactor/fs
Noah Hsu 2022-07-10 15:23:08 +08:00
parent fc1204c914
commit f102b130db
1 changed files with 2 additions and 1 deletions

View File

@ -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)