diff --git a/pkg/routes/routes.go b/pkg/routes/routes.go index 9d69931e..3fab5eb4 100644 --- a/pkg/routes/routes.go +++ b/pkg/routes/routes.go @@ -248,7 +248,7 @@ func registerAPIRoutes(a *echo.Group) { n.GET("/info", apiv1.Info) // Avatar endpoint - n.GET("/:username/avatar", apiv1.GetAvatar) + n.GET("/avatar/:username", apiv1.GetAvatar) // Link share auth if config.ServiceEnableLinkSharing.GetBool() {