Skip to content

Commit

Permalink
fix: fix router_config add &url to url
Browse files Browse the repository at this point in the history
  • Loading branch information
haohongfan committed Dec 4, 2020
1 parent 7efba16 commit 8f916e6
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 8f916e6

Please sign in to comment.