diff --git a/cmd/web.go b/cmd/web.go index b6aa2dd7e..356876fc4 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -118,9 +118,7 @@ func newMacaron() *macaron.Macaron { if setting.EnableGzip { m.Use(gzip.Gziper()) } - if setting.Protocol == setting.SCHEME_FCGI { - m.SetURLPrefix(setting.AppSubUrl) - } + m.SetURLPrefix(setting.AppSubUrl) m.Use(macaron.Static( path.Join(setting.StaticRootPath, "public"), macaron.StaticOptions{