alist-org / alist

🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序,使用 Gin 和 Solidjs。
https://alist.nn.ci
GNU Affero General Public License v3.0
39.44k stars 5.12k forks source link

fix(139): 修复 即使开启了代理,但下载链接没有返回正确状态码导致的一些问题 #6465

Closed j2rong4cn closed 1 month ago

j2rong4cn commented 1 month ago

例如:视频无法在线播放

welcome[bot] commented 1 month ago

Thanks for opening this pull request! Please check out our contributing guidelines.

j2rong4cn commented 1 month ago

@xhofe 我想为代理加个功能,"本地代理时处理Range",默认关闭 可解决中国移动云盘(简称移动云盘)开启代理后还是不能播放视频的问题(移动云盘下载链接没有返回正确的状态码),还可以适用以下场景 1.远程服务端alist挂载移动云盘不开启代理,再挂载 别名 添加移动云盘的路径,别名 开启代理可正常播放移动云盘的视频 2.本地alist挂载 服务端的alist,开启代理也可以正常播放 第2个场景为了方便使用:鉴权失败时更新移动云盘的验证

暂时想到就这些,怎么样,可以吗