fix loadConfigureFile
This commit is contained in:
parent
6afb0a8f59
commit
bbe74226d1
@ -553,7 +553,7 @@ func loadConfigureFile(configureFile string) error {
|
||||
routes = append(routes, cfg.route)
|
||||
}
|
||||
for _, route := range cfg.Routes {
|
||||
if len(cfg.route.ServeNodes) > 0 {
|
||||
if len(route.ServeNodes) > 0 {
|
||||
routes = append(routes, route)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user