Files
OpenList/drivers
awaae 6a17e00439 fix(sharing): resolve missing base path for thumbnails in shared links (#3194)
* 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
2026-10-20 22:23:51 +08:00
..
2026-07-28 13:18:34 +08:00