Change avatar endpoint

This commit is contained in:
kolaente 2020-12-18 23:11:11 +01:00
parent 8a6f8922f8
commit 27c44d6d5e
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -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() {