-
Notifications
You must be signed in to change notification settings - Fork 1
Avatar
BluDood edited this page Apr 14, 2023
·
1 revision
The /avatar endpoint allows you to easily size your avatar to a custom size, to reduce load times and go within size limitations on websites. The setup is very easy:
You only have to enter one environment variable, which is a URL to your profile picture:
AVATAR_URL=url_to_avatar
This will enable the avatar sizing endpoint, where you can specify size by passing the ?size=size_in_pixels parameter (Example: api.bludood.com/avatar?size=64)