This commit is contained in:
Conners Hua 2021-08-26 21:08:03 +08:00
parent 0bca689232
commit f6d5173255

View File

@ -1,7 +1,7 @@
let body = $request.body;
body = body.replace(/&sim_code=\d+/,"&sim_code=51503");
body = body.replace(/&locale=zh_CN/,"&&locale=zh_PH");
body = body.replace(/&locale=zh_CN/,"&locale=zh_PH");
body = body.replace(/&s_locale=zh-Hans_[A-Z]{2}/,"&s_locale=zh-Hans_PH");
console.log(body)