在本地新建一个 json 文件,随意命名,写入以下内容:[
{
"from": "^https://www.luogu.com(/)?$",
"to": "https://www.luogu.com.cn",
"enabled": true,
"mode": "regex"
},
{
"from": "^https://www.luogu.com.cn/paste/(.*)$",
"to": "https://www.luogu.com/paste/$1",
"enabled": true,
"mode": "regex"
},
{
"enabled": true,
"from": "^https://www.luogu.com.cn/article/(.*)$",
"mode": "regex",
"to": "https://www.luogu.com/article/$1"
},
{
"enabled": true,
"from": "^https://www.luogu.com.cn/user/(.*)$",
"mode": "regex",
"to": "https://www.luogu.com/user/$1"
}
]