mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-20 17:17:14 -04:00
Fix #468
This commit is contained in:
parent
0f037b430a
commit
ea309acdb2
3 changed files with 7 additions and 6 deletions
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue