能否增加对 https://raw.githubusercontent.com 的支持? #56

Closed
opened 2025-08-09 12:20:45 +08:00 by DoraTiger · 2 comments
DoraTiger commented 2025-08-09 12:20:45 +08:00 (Migrated from github.com)

如题,部分服务会直接下载githubusercontent文件资源,目前走hubproxy貌似直接报错。翻看之前的一些issue,好像是将对域名的检查写死在代理里了,没有支持这个。

如题,部分服务会直接下载githubusercontent文件资源,目前走hubproxy貌似直接报错。翻看之前的一些issue,好像是将对域名的检查写死在代理里了,没有支持这个。
sky22333 commented 2025-08-09 12:22:25 +08:00 (Migrated from github.com)

请提供一下报错的文件下载链接和错误日志

一直都是支持githubusercontent的

https://demo.52013120.xyz/https://raw.githubusercontent.com/sky22333/hubproxy/main/install.sh

请提供一下报错的文件下载链接和错误日志 一直都是支持githubusercontent的 https://demo.52013120.xyz/https://raw.githubusercontent.com/sky22333/hubproxy/main/install.sh
DoraTiger commented 2025-08-09 12:34:17 +08:00 (Migrated from github.com)

嗯嗯,我在本地部署测试的时候,github文件没对齐地址,少了个字母,提示无效的git地址,不好意思。
另外能否考虑将正则这一块的逻辑,也丢掉配置文件里,方便随时修订。

嗯嗯,我在本地部署测试的时候,github文件没对齐地址,少了个字母,提示无效的git地址,不好意思。 另外能否考虑将正则这一块的逻辑,也丢掉配置文件里,方便随时修订。
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: 3344/hubproxy#56