Skip to content
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

由于 git.fastgit.org 无法使用, 建议修改 加速服务-拦截设置 #273

Closed
LRoInT opened this issue Feb 19, 2024 · 6 comments
Closed
Labels
Config Issue 配置问题 v1.8.0 1.8.0版本 其他用户可参考 其他用户如果碰到相同问题,可参考issue里的内容。
Milestone

Comments

@LRoInT
Copy link

LRoInT commented Feb 19, 2024

建议将加速服务-拦截设置内的github项改为

"github.com": {
    "/.*/.*/releases/download/": {
      "redirect": "gh.api.99988866.xyz/https://github.com",
      "desc": "release文件加速下载跳转地址"
    },
    "/.*/.*/archive/": {
      "redirect": "gh.api.99988866.xyz/https://github.com"
    },
    "/.*/.*/blame/": {
      "redirect": "gh.api.99988866.xyz/https://github.com"
    },
    "^/[^/]+/[^/]+(/releases(/.*)?)?$": {
      "script": [
        "github"
      ],
      "desc": "clone加速复制链接脚本"
    },
    "/.*": {
      "proxy": "github.com",
      "desc": "目前禁掉sni就可以直接访问,如果后续github.com的ip被封锁,只能再走proxy模式",
      "sni": "baidu.com"
    }

    // ......

}
@wangliang181230
Copy link
Contributor

@LRoInT
问下,大佬,下面这还有个 fastgit.org 的配置,这么改可以吗?
图片

@wangliang181230
Copy link
Contributor

不过 customer-stories-feed.fastgit.org 域名貌似还能用。是不是暂时没关系,但以后还是会无法使用?

@LRoInT
Copy link
Author

LRoInT commented Feb 24, 2024

不清楚,但这个配置目前没问题, 不知道就别改

@loveexword
Copy link

建议将加速服务-拦截设置内的github项改为

"github.com": {
    "/.*/.*/releases/download/": {
      "redirect": "gh.api.99988866.xyz/https://github.com",
      "desc": "release文件加速下载跳转地址"
    },
    "/.*/.*/archive/": {
      "redirect": "gh.api.99988866.xyz/https://github.com"
    },
    "/.*/.*/blame/": {
      "redirect": "gh.api.99988866.xyz/https://github.com"
    },
    "^/[^/]+/[^/]+(/releases(/.*)?)?$": {
      "script": [
        "github"
      ],
      "desc": "clone加速复制链接脚本"
    },
    "/.*": {
      "proxy": "github.com",
      "desc": "目前禁掉sni就可以直接访问,如果后续github.com的ip被封锁,只能再走proxy模式",
      "sni": "baidu.com"
    }

我改成你这了

@wangliang181230
Copy link
Contributor

源码中已修改为你的配置,代码提交记录:5a96635

@wangliang181230
Copy link
Contributor

wangliang181230 commented Apr 11, 2024

1.8.0 版本,已经将github油猴脚本升级到最新,兼容了当前的github站点。
使用 1.8.0 版本时,下载链接后面会有很多备用链接供高速下载,如图:


图片

@docmirror docmirror deleted a comment from WWTBNBWN Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Config Issue 配置问题 v1.8.0 1.8.0版本 其他用户可参考 其他用户如果碰到相同问题,可参考issue里的内容。
Projects
None yet
Development

No branches or pull requests

3 participants