Minor CDN-CS work

This commit is contained in:
Rory& committed 2026-06-19 05:58:49 +02:00
1 parent 7b9b87f308
commit d401aea643
6 files changed
+6 -6

No files matched your search

@@ -8,7 +8,7 @@ namespace Spacebar.Cdn.Extensions;
[ApiController]
public class ImageController(LruFileCache lfc, IFileSource fs, CdnWorkerService cws) : ControllerBase {
public async Task<IActionResult> GetImage(string path) {
protected async Task<IActionResult> GetImage(string path) {
DiscordImageResizeParams resizeParams = Request.GetResizeParams();
var cacheKey = path + resizeParams.ToSerializedName();
if (!Request.Query.Any() || resizeParams.Passthrough) {