We are adding a size param to the endpoint, you can now use /:domainName/:size? to fetch a specific size.
If size option is empty, we fallback to default size 192.
We moved some image logic to a dedicated image util class.
We now store all images in png format with all "supported" sizes which are [32, 64, 128, 180, 192].
Context
We are adding a size param to the endpoint, you can now use
/:domainName/:size?
to fetch a specific size. If size option is empty, we fallback to default size192
. We moved some image logic to a dedicated image util class. We now store all images in png format with all "supported" sizes which are[32, 64, 128, 180, 192]
.Test
Locally with different sizes and formats