This commit is contained in:
seb
2026-10-10 18:17:14 +02:00
parent 004e0de869
commit a20668cd61
31 changed files with 572 additions and 76 deletions

View File

@@ -7,7 +7,9 @@ export const thumb = {
* GET /api/thumb/:fullHash → image/avif (thumb bytes)
* Use as <img src={thumb.url(fullHash)} /> (same-origin; cookies sent).
*/
// #region GET /api/thumb/:fullHash — url
url(fullHash) {
return `/api/thumb/${encodeURIComponent(fullHash)}`;
},
// #endregion
};