diff --git a/conf/enumerate.go b/conf/enumerate.go index ca31bbfb..caf76e89 100644 --- a/conf/enumerate.go +++ b/conf/enumerate.go @@ -213,7 +213,7 @@ func URLFor(endpoint string, values ...interface{}) string { pathUrl := beego.URLFor(endpoint, values ...) if baseUrl == "" { - baseUrl = BaseUrl + baseUrl = "/" } if strings.HasPrefix(pathUrl, "http://") { return pathUrl