From f6d5173255cefce3cb64520b38187a823c682b55 Mon Sep 17 00:00:00 2001 From: Conners Hua Date: Thu, 26 Aug 2021 21:08:03 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Surge/Rewrite/bstar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Surge/Rewrite/bstar.js b/Surge/Rewrite/bstar.js index 4e4b598..a0c60e6 100644 --- a/Surge/Rewrite/bstar.js +++ b/Surge/Rewrite/bstar.js @@ -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)