🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序,使用 Gin 和 Solidjs。
GNU Affero General Public License v3.0
39.44k
stars
5.12k
forks
source link
https://alist-org.github.io域名被墙,可否绑定个别名 #6502
Open
vbskycn opened 1 month ago
Please make sure of the following things
Description of the feature / 需求描述
https://alist-org.github.io域名被墙
用https://alist-org.github.io/pdf.js/web/viewer.html这个打开pdf预览失败,需要梯子才能正常预览
部署在github上面可否绑定个域名, 这样国内就可以直接打开了
我也试过自己部署官方pdf.js,
https://pdf.zhoujie218.top/web/viewer.html
web页查看正常,放到alist里面就是不行。
也fork个你的老pdf.js项目:https://github.com/alist-org/pdf.js
https://pdfg.zhoujie218.top/web/viewer.html
版本是一样的,但是报这个错误
查了下好像是跨域的问题,要改标头什么的,但是不知道在哪里改
而且我是fork部署,应该是一样的,只是绑了个域名。用https://alist-org.github.io就可以正常
可否指定一下怎么样避免
PDF.js v3.0.44 (build: 6852001b0) 信息:file origin does not match viewer's
这个问题
Suggested solution / 实现思路
可否在https://alist-org.github.io/pdf.js 绑定个别名???
Additional context / 附件
No response