mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2026-11-13 06:00:47 +08:00
* fix(sharing): resolve missing base path for thumbnails in shared links - Fix the issue where thumbnail URLs in generated shares lacked the correct `/sd` prefix. - Define `ThumbnailBaseURLKey` context key in configuration constants. - Pass thumbnail base URL context with shared link path and password in sharing list handler. - Use context thumbnail base URL when constructing thumbnail URLs in the local driver. - Include thumbnail base URL in singleflight list key for storages with cache disabled. Relates - https://github.com/OpenListTeam/OpenList/issues/3165 * refactor(local): simplify thumbnail URL construction - Combine conditional checks for thumbnail support in local driver - Standardize thumbnail URL formatting by using a fallback `url.URL` struct - Flatten conditional checks for flightKey thumbnail URL in list operation