Skip to content
Snippets Groups Projects
Commit 8f916e6b authored by haohongfan's avatar haohongfan
Browse files

fix: fix router_config add &url to url

parent 7efba166
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
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