Change avatar endpoint
This commit is contained in:
parent
8a6f8922f8
commit
27c44d6d5e
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue