forked from openecos-projects/ecos-studio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bazel_downloader_config
More file actions
14 lines (10 loc) · 866 Bytes
/
Copy path.bazel_downloader_config
File metadata and controls
14 lines (10 loc) · 866 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# GitHub mirror rewrites for Bazel external repository downloads.
# Keep both mirror and direct URLs so Bazel can fall back when mirror is unavailable.
rewrite ^https://github\.com/(.*)$ https://ghfast.top/https://github.com/$1
rewrite ^https://github\.com/(.*)$ https://github.com/$1
rewrite ^https://codeload\.github\.com/(.*)$ https://ghfast.top/https://codeload.github.com/$1
rewrite ^https://codeload\.github\.com/(.*)$ https://codeload.github.com/$1
rewrite ^https://objects\.githubusercontent\.com/(.*)$ https://ghfast.top/https://objects.githubusercontent.com/$1
rewrite ^https://objects\.githubusercontent\.com/(.*)$ https://objects.githubusercontent.com/$1
rewrite ^https://raw\.githubusercontent\.com/(.*)$ https://ghfast.top/https://raw.githubusercontent.com/$1
rewrite ^https://raw\.githubusercontent\.com/(.*)$ https://raw.githubusercontent.com/$1