aboutsummaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorKN4CK3R <KN4CK3R@users.noreply.github.com>2021-04-30 17:59:16 +0200
committerGitHub <noreply@github.com>2021-04-30 11:59:16 -0400
commit1456978246c263acd6523534cf36b35f5ddbe0eb (patch)
treebd10c153cf30efee3410354d43afb21899012229 /routers
parent49b28956e2610db05df79c458932a96e55227c68 (diff)
downloadgitea-1456978246c263acd6523534cf36b35f5ddbe0eb.tar.gz
gitea-1456978246c263acd6523534cf36b35f5ddbe0eb.zip
Added missing prefix on install route. (#15677)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'routers')
-rw-r--r--routers/routes/install.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/routes/install.go b/routers/routes/install.go
index 18fac8418b..026d92b13e 100644
--- a/routers/routes/install.go
+++ b/routers/routes/install.go
@@ -103,6 +103,7 @@ func InstallRoutes() *web.Route {
&public.Options{
Directory: path.Join(setting.StaticRootPath, "public"),
SkipLogging: setting.DisableRouterLog,
+ Prefix: "/assets",
},
))