AlistGo / AlistGo/alist

现在对加cdn对可以加token和expires吗?

未關閉
#9,375 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
Go
星號
50.2k
分支
7.9k
平均合併
7 天 21 小時
30 天內合併 PR
6

描述

### Please make sure of the following things

- [x] I have read the [documentation](https://alistgo.com).
- [x] I'm sure there are no duplicate issues or discussions.
- [x] I'm sure this feature is not implemented.
- [x] I'm sure it's a reasonable and popular requirement.

### Description of the feature / 需求描述

对象存储有令牌选项,但我试了没有用,并没有加上token=XXXX。

现在最新版的完善这个功能了吗?

但不同cdn厂商的令牌算法也不一样,感觉这个功能需要按cdn厂商单独适配???

我现在用的是nginx直接拦截 /d/.... 下载链接,用一个python脚本来加token并重定向。但这种方法对mp4视频文件无效,因为貌似视频并不会用 /d/ 来下载?所以这个解决方法只能在线听mp3,无法在线看mp4了。

我就不知道怎么解决视频的问题了

### Suggested solution / 实现思路

_No response_

### Additional context / 附件

_No response_

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。