update comments

This commit is contained in:
Jonas Leder 2022-07-05 12:28:01 +02:00
parent ae50943802
commit 280e67693e
No known key found for this signature in database
GPG key ID: CC3C488E27DFF5CA

View file

@ -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";