fix: harden editorial thumbnail authorization
This commit is contained in:
1 parent
66f0599653
commit
846904f3db
11 files changed
+182
-36
No files matched your search
@@ -65,7 +65,7 @@ export default async function EditorialAlbumsPage({
|
||||
<Image
|
||||
alt={`Titelbild von ${album.albumName}`}
|
||||
height={120}
|
||||
src={`/api/assets/${encodeURIComponent(album.albumThumbnailAssetId)}/thumbnail`}
|
||||
src={`/api/assets/${encodeURIComponent(album.albumThumbnailAssetId)}/thumbnail?albumId=${encodeURIComponent(album.id)}`}
|
||||
width={160}
|
||||
/>
|
||||
) : (
|
||||
|
||||
Reference in new issue
Block a user