summary refs log tree commit diff
path: root/extra/admin-api/Spacebar.Cdn/Controllers/ImagesAndStickersController.cs
diff options
context:
space:
mode:
Diffstat (limited to 'extra/admin-api/Spacebar.Cdn/Controllers/ImagesAndStickersController.cs')
-rw-r--r--extra/admin-api/Spacebar.Cdn/Controllers/ImagesAndStickersController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/admin-api/Spacebar.Cdn/Controllers/ImagesAndStickersController.cs b/extra/admin-api/Spacebar.Cdn/Controllers/ImagesAndStickersController.cs

index 1f28f9bd..6c0409dc 100644 --- a/extra/admin-api/Spacebar.Cdn/Controllers/ImagesAndStickersController.cs +++ b/extra/admin-api/Spacebar.Cdn/Controllers/ImagesAndStickersController.cs
@@ -13,7 +13,7 @@ public class ImagesAndStickerController(LruFileCache lfc, IFileSource fs, CdnWor [HttpGet("/stickers/{id}.{ext}")] [HttpGet("/emojis/{id}")] [HttpGet("/emojis/{id}.{ext}")] - public async Task<IActionResult> GetUserAvatar(string id, string ext = "png") { + public async Task<IActionResult> GetUserAvatar(string id, string ext = "webp") { DiscordImageResizeParams resizeParams = Request.GetResizeParams(); var cacheKey = Request.Path + resizeParams.ToSerializedName(); LruFileCache.Entry? entry;