Skip to content
Snippets Groups Projects
Unverified Commit 68ff8be7 authored by Joe Zou's avatar Joe Zou Committed by GitHub
Browse files

Merge pull request #910 from georgehao/develop

fix: fix router_config add &url to url
parents 7efba166 8f916e6b
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