mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 08:11:11 +08:00
optimize blacklist
This commit is contained in:
parent
97ae0044e7
commit
40c9ca5f38
5 changed files with 71 additions and 40 deletions
|
|
@ -18,7 +18,7 @@ var (
|
|||
|
||||
func Init(cfg *config.Config) {
|
||||
if cfg.Blacklist.Enabled {
|
||||
LoadBlacklist(cfg)
|
||||
InitBlacklist(cfg)
|
||||
}
|
||||
if cfg.Whitelist.Enabled {
|
||||
LoadWhitelist(cfg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue