diff options
| author | star9029 <[email protected]> | 2025-01-16 22:04:41 +0800 |
|---|---|---|
| committer | star9029 <[email protected]> | 2025-01-16 22:04:41 +0800 |
| commit | 4c6304a407e4a406d9fc52a1f988b548dd56c209 (patch) | |
| tree | edfb88e3c60d6c28dbbae4a7a031914c9095ad04 /xmake/scripts/pac/github_mirror.lua | |
| parent | 777e105d7f968e6def26df33c069eb93bd6de242 (diff) | |
Remove pac dir
Diffstat (limited to 'xmake/scripts/pac/github_mirror.lua')
| -rw-r--r-- | xmake/scripts/pac/github_mirror.lua | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/xmake/scripts/pac/github_mirror.lua b/xmake/scripts/pac/github_mirror.lua deleted file mode 100644 index 5a6bc2e1a..000000000 --- a/xmake/scripts/pac/github_mirror.lua +++ /dev/null @@ -1,12 +0,0 @@ -import("net.fasturl") - -function mirror(url) - local configs = {} - local proxyurls = {} - fasturl.add(proxyurls) - proxyurls = fasturl.sort(proxyurls) - if #proxyurls > 0 then - return url:replace("/github.com/", "/" .. proxyurls[1] .. "/", {plain = true}) - end -end - |
