fix: harden editorial thumbnail authorization

This commit is contained in:
Leon Tonhäuser committed 2026-08-09 22:32:18 +02:00
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}
/>
) : (