-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
fix(share): support custom proxy url #1130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OpenList Proxy 能使用 /api/fs/link 获取分享的文件下载信息吗?如果可以的话,还是做成配置项比较好
请注意:这种用法会暴露分享文件的真实路径
这样应该就不涉及这个问题
你说的是不是这样一个意思,如果驱动有自定义代理,那么服务器就“本地代理”这个“代理URL”来下载文件?但是根据我的理解,很多人使用 OpenList Proxy 是因为运行 OpenList 的服务器要么上行带宽不足,要么性能有限,不能本地代理,如果按这种套两次代理的设计不是就不能解决这个问题了 |
我试了下,不能 OpenList/server/handles/fsmanage.go Lines 373 to 405 in b0dbbeb
|
分享功能目前不会使用自定义代理,合并本PR后,对于提供了自定义代理URL的驱动内的分享文件,无论是否启用“强制代理分享请求”,都会使用自定义代理。
请注意:这种用法会暴露分享文件的真实路径