You need to sign in or sign up before continuing.
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 {
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)
}
}
......
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