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

临时解决 站点不可用 fonts.loli.net #25

Open
jingjingxyk opened this issue Oct 1, 2023 · 0 comments
Open

临时解决 站点不可用 fonts.loli.net #25

jingjingxyk opened this issue Oct 1, 2023 · 0 comments

Comments

@jingjingxyk
Copy link

因为 fonts.loli.net 地址不可用,出现 https://www.swoole.com/ 打不开的情况

image

解决办法:使用浏览器地址重定向即可,地址重定向规则如下:

{
  "action": {
    "redirect": {
      "transform": {
        "host": "fonts.googleapis.cn",
        "scheme": "https"
      }
    },
    "type": "redirect"
  },
  "condition": {
    "requestDomains": [
      "fonts.loli.net"
    ],
    "resourceTypes": [
      "main_frame",
      "sub_frame",
      "stylesheet",
      "script",
      "image",
      "font",
      "object",
      "xmlhttprequest",
      "ping",
      "csp_report",
      "media",
      "websocket",
      "other"
    ],
    "urlFilter": "|http*://fonts.loli.net"
  },
  "id": 2,
  "priority": 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant