AlistGo / AlistGo/alist

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

Offen
#9,375 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Go
Sterne
50.2k
Forks
7.9k
Ø Merge
7 T. 21 Std.
Gemergte PRs (30 T.)
6

Beschreibung

### 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_

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.