summaryrefslogtreecommitdiff
path: root/internal/web/base.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/web/base.go')
-rw-r--r--internal/web/base.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/web/base.go b/internal/web/base.go
index 0dae30772..51238afaf 100644
--- a/internal/web/base.go
+++ b/internal/web/base.go
@@ -32,7 +32,7 @@ func (m *Module) baseHandler(c *gin.Context) {
// if a landingPageUser is set in the config, redirect to that user's profile
if landingPageUser := config.GetLandingPageUser(); landingPageUser != "" {
- c.Redirect(http.StatusFound, "/@"+c.Param(strings.ToLower(landingPageUser)))
+ c.Redirect(http.StatusFound, "/@"+strings.ToLower(landingPageUser))
return
}