diff options
Diffstat (limited to 'routers/routes/routes.go')
-rw-r--r-- | routers/routes/routes.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/routes/routes.go b/routers/routes/routes.go index bac7d37916..cdbbfaee04 100644 --- a/routers/routes/routes.go +++ b/routers/routes/routes.go @@ -133,7 +133,7 @@ func NewMacaron() *macaron.Macaron { if setting.EnableGzip { m.Use(gzip.Middleware()) } - if setting.Protocol == setting.FCGI { + if setting.Protocol == setting.FCGI || setting.Protocol == setting.FCGIUnix { m.SetURLPrefix(setting.AppSubURL) } m.Use(public.Custom( |