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 }