Change avatar endpoint

This commit is contained in:
kolaente 2020-12-18 23:11:11 +01:00
parent 8a6f8922f8
commit 27c44d6d5e
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -248,7 +248,7 @@ func registerAPIRoutes(a *echo.Group) {
n.GET("/info", apiv1.Info) n.GET("/info", apiv1.Info)
// Avatar endpoint // Avatar endpoint
n.GET("/:username/avatar", apiv1.GetAvatar) n.GET("/avatar/:username", apiv1.GetAvatar)
// Link share auth // Link share auth
if config.ServiceEnableLinkSharing.GetBool() { if config.ServiceEnableLinkSharing.GetBool() {