change route name (#51)

This commit is contained in:
澄潭
2022-11-10 17:02:43 +08:00
committed by GitHub
parent 2b55b6530a
commit 268c73301e
5 changed files with 93 additions and 82 deletions

View File

@@ -73,7 +73,7 @@ type WrapperHTTPRoute struct {
}
func (w *WrapperHTTPRoute) Meta() string {
return strings.Join([]string{w.WrapperConfig.Config.Namespace, w.WrapperConfig.Config.Name}, "-")
return strings.Join([]string{w.WrapperConfig.Config.Namespace, w.WrapperConfig.Config.Name}, "/")
}
func (w *WrapperHTTPRoute) BasePathFormat() string {