From 280e67693e5a74c71e56ae183c55c36ab6ed7b24 Mon Sep 17 00:00:00 2001 From: Jonas Leder Date: Tue, 5 Jul 2022 12:28:01 +0200 Subject: [PATCH] update comments --- public/API/queries/skills.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/API/queries/skills.php b/public/API/queries/skills.php index f04344a..e7fc623 100644 --- a/public/API/queries/skills.php +++ b/public/API/queries/skills.php @@ -28,6 +28,8 @@ function getSkills() { // Get the actual presigned-url $downloadURL = (string) $presignedRequest->getUri(); + + // Generate the imgproxy URL $encodedUrl = rtrim(strtr(base64_encode($downloadURL), '+/', '-_'), '='); $path = "/rs:fit:0:$defaultSkillsWidth:1/g:no/{$encodedUrl}.webp";