Skip to content

Commit

Permalink
Merge pull request #910 from georgehao/develop
Browse files Browse the repository at this point in the history
fix: fix router_config add &url to url
  • Loading branch information
zouyx authored Dec 5, 2020
2 parents 7efba16 + 8f916e6 commit 68ff8be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/router_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func initRouterConfig(content []byte, factories map[string]router.FilePriorityRo
r, e := factory.NewFileRouter(content)
if e == nil {
url := r.URL()
routerURLSet.Add(&url)
routerURLSet.Add(url)
return nil
}
logger.Warnf("router config type %s create fail {%v}\n", k, e)
Expand Down

0 comments on commit 68ff8be

Please sign in to comment.