mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-21 00:57:43 +08:00
Added missing prefix on install route. (#15677)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
@ -103,6 +103,7 @@ func InstallRoutes() *web.Route {
|
|||||||
&public.Options{
|
&public.Options{
|
||||||
Directory: path.Join(setting.StaticRootPath, "public"),
|
Directory: path.Join(setting.StaticRootPath, "public"),
|
||||||
SkipLogging: setting.DisableRouterLog,
|
SkipLogging: setting.DisableRouterLog,
|
||||||
|
Prefix: "/assets",
|
||||||
},
|
},
|
||||||
))
|
))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user