diff --git a/pkg/api/index.go b/pkg/api/index.go index 342de21c670..522b53b9026 100644 --- a/pkg/api/index.go +++ b/pkg/api/index.go @@ -36,7 +36,7 @@ func setIndexViewData(c *middleware.Context) (*dtos.IndexViewData, error) { } if setting.DisableGravatar { - data.User.GravatarUrl = setting.AppSubUrl + "/img/user_profile.png" + data.User.GravatarUrl = setting.AppSubUrl + "/public/img/user_profile.png" } if len(data.User.Name) == 0 { diff --git a/pkg/cmd/web.go b/pkg/cmd/web.go index 897cfc4f3af..57726de654f 100644 --- a/pkg/cmd/web.go +++ b/pkg/cmd/web.go @@ -36,9 +36,6 @@ func newMacaron() *macaron.Macaron { } mapStatic(m, setting.StaticRootPath, "", "public") - mapStatic(m, setting.StaticRootPath, "css", "css") - mapStatic(m, setting.StaticRootPath, "img", "img") - mapStatic(m, setting.StaticRootPath, "fonts", "fonts") mapStatic(m, setting.StaticRootPath, "robots.txt", "robots.txt") m.Use(macaron.Renderer(macaron.RenderOptions{ diff --git a/public/app/core/components/navbar/navbar.html b/public/app/core/components/navbar/navbar.html index 3ebac53e8d1..2ba53897696 100644 --- a/public/app/core/components/navbar/navbar.html +++ b/public/app/core/components/navbar/navbar.html @@ -3,7 +3,7 @@