Skip to content

Commit

Permalink
优化重置clash规则接口
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrohy committed Dec 11, 2021
1 parent 4d7746a commit 8182459
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/controller/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ func ResetClashRules() *ResponseBody {
responseBody := ResponseBody{Msg: "success"}
defer TimeCost(time.Now(), &responseBody)
core.DelValue("clash-rules")
responseBody.Data = clashRules()
return &responseBody
}

Expand Down

0 comments on commit 8182459

Please sign in to comment.