Commit 08d3cbdd authored by koaiwu's avatar koaiwu Committed by ginuerzh

fix loadConfigureFile (#239)

parent f6433a99
...@@ -541,7 +541,7 @@ func loadConfigureFile(configureFile string) error { ...@@ -541,7 +541,7 @@ func loadConfigureFile(configureFile string) error {
routes = append(routes, cfg.route) routes = append(routes, cfg.route)
} }
for _, route := range cfg.Routes { for _, route := range cfg.Routes {
if len(cfg.route.ServeNodes) > 0 { if len(route.ServeNodes) > 0 {
routes = append(routes, route) routes = append(routes, route)
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment