mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-19 08:36:37 +08:00
fix(search): file type
This commit is contained in:
@@ -13,7 +13,7 @@ type SearchReq struct {
|
||||
}
|
||||
|
||||
func Search(c *gin.Context) {
|
||||
if conf.GetBool("enable search") {
|
||||
if !conf.GetBool("enable search") {
|
||||
common.ErrorStrResp(c, "Not allowed search", 403)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user