From ea309acdb23f2058478f7e7753e359a6c6256c81 Mon Sep 17 00:00:00 2001 From: Unknwon <joe2010xtmf@163.com> Date: Mon, 15 Sep 2014 17:23:58 -0400 Subject: Fix #468 --- cmd/web.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmd') diff --git a/cmd/web.go b/cmd/web.go index a9ff9dbcc2..f56ae82685 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -64,7 +64,8 @@ func newMacaron() *macaron.Macaron { m := macaron.New() m.Use(macaron.Logger()) m.Use(macaron.Recovery()) - m.Use(macaron.Static("public", + m.Use(macaron.Static( + path.Join(setting.StaticRootPath, "public"), macaron.StaticOptions{ SkipLogging: !setting.DisableRouterLog, }, -- cgit v1.2.3