diff --git a/ioc/config/application/application.go b/ioc/config/application/application.go index ffbb3f0..4f71b2b 100644 --- a/ioc/config/application/application.go +++ b/ioc/config/application/application.go @@ -47,7 +47,7 @@ type Application struct { } func (a *Application) HTTPPrefix() string { - u, err := url.JoinPath(a.AppName, a.HTTP.PathPrefix) + u, err := url.JoinPath("/"+a.AppName, a.HTTP.PathPrefix) if err != nil { return fmt.Sprintf("/%s/%s", a.AppName, a.HTTP.PathPrefix) }