-
Notifications
You must be signed in to change notification settings - Fork 535
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cdn.jsdelivr.net replace to fastly.jsdelivr.net (#96)
* cdn.jsdelivr.net replace fastly.jsdelivr.net * cdn.jsdelivr.net replace * 新增cdn.jsdelivr.net 地址替换 * add gitignore * chang comment * chang comment * chang comment * chang comment * chang comment * add 国内镜像 克隆 链接 * add emoji point_up * add emoji point_up * 新增 通过国内镜像 克隆本项目源代码 * 参考文档 extensions declare_permissions * change comment * change comment * change comment
- Loading branch information
1 parent
ba9c871
commit ba72097
Showing
9 changed files
with
95 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[ | ||
|
||
{ | ||
"id": 1, | ||
"priority": 10, | ||
"action": { | ||
"type": "redirect", | ||
"redirect": { | ||
"transform": { | ||
"scheme": "https", | ||
"host": "fastly.jsdelivr.net" | ||
} | ||
} | ||
}, | ||
"condition": { | ||
"urlFilter": "cdn.jsdelivr.net", | ||
"requestDomains":[ | ||
"cdn.jsdelivr.net" | ||
], | ||
"resourceTypes": [ | ||
"main_frame", "sub_frame", "stylesheet", "script", "image", "font", | ||
"object", "xmlhttprequest", "ping", "csp_report", "media", "websocket", | ||
"webtransport", "webbundle", "other" | ||
] | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
# 测试用例 | ||
> 打开 dev-tools 面板查看请求 | ||
1. [stackoverflow 打开 test `https://patrickhlauke.github.io/recaptcha/ `](https://stackoverflow.com/tags/socat/hot?filter=all) | ||
2. [Google reCAPTCHA 打开 test `https://patrickhlauke.github.io/recaptcha/ `](https://patrickhlauke.github.io/recaptcha/) | ||
3. [`pub.dev`域名下`fonts.googleapis.com`无法地址重定向; 打开 test](https://pub.dev/) | ||
1. [stackoverflow 打开 `https://stackoverflow.com/tags/socat/hot?filter=all` 查看结果](https://stackoverflow.com/tags/socat/hot?filter=all) | ||
2. [Google reCAPTCHA 打开 `https://patrickhlauke.github.io/recaptcha/` 查看结果](https://patrickhlauke.github.io/recaptcha/) | ||
3. [ `pub.dev` 域名下 `fonts.googleapis.com` 无法地址重定向; 打开 `https://pub.dev/` 查看结果](https://pub.dev/) | ||
4. [`cdn.jsdelivr.net` 替换为 `fastly.jsdelivr.net` 打开 `https://www.jsdelivr.com/` 查看结果 ](https://www.jsdelivr.com/) | ||
5. [`cdnjs.cloudflare.com` 替换为 `cdnjs.loli.net` 打开 `https://cdnjs.cloudflare.com/` 查看结果 ](https://cdnjs.cloudflare.com/ajax/libs/reveal.js/4.1.2/reveal.min.css) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters