Minor CDN-CS work

This commit is contained in:
Rory&
2026-06-19 05:58:49 +02:00
parent 7b9b87f308
commit d401aea643
6 changed files with 6 additions and 6 deletions
@@ -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) {