Fork #173: admins running multiple download endpoints want generated download links spread across them so external download managers hit different hosts per link, instead of every URL pointing at the site URL. - setting.Provider.DownloadURLBase: uniform random pick from the site URL plus all valid download_cdn_routes when download_cdn_shuffle is on; falls back to SiteURL when off/unconfigured and honors UseFirstSiteUrl pins. - entitysource: internal-proxy entity URLs use the shuffled base only for explicit downloads — preview/thumb URLs keep the resolved site URL to avoid cross-origin viewer breakage. - Archive download sessions pick from the same pool; redirect-type direct links shuffle at resolve time via the entity URL path. - Site config exposes download_cdn_shuffle; the web client skips the manual route picker when the server already distributes. - Admin Site Information gets the toggle; en-US + zh-CN strings. Authored By: TDvorak <info@tdvorak.dev> Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>pull/3587/head
parent
831f40a0dc
commit
0a768b0f92
Loading…
Reference in new issue