mirror of
https://github.com/ginuerzh/gost.git
synced 2024-04-21 12:31:34 +00:00
fix loadConfigureFile (#239)
This commit is contained in:
+1
-1
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user