From 6cdb9a051e9ba338389adc31b2df4cb52fff29ed Mon Sep 17 00:00:00 2001 From: david082321 Date: Sat, 25 Sep 2021 20:41:11 +0800 Subject: [PATCH] Update index.php --- index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index b7a3958..f75d4ee 100644 --- a/index.php +++ b/index.php @@ -35,7 +35,7 @@ if ($path == "/intl/gateway/v2/ogv/playurl") { $query = "appkey=7d089525d3611b1c&autoplay=0&build=1052002&c_locale=&channel=master&lang=&locale=zh_SG&mobi_app=bstar_a&platform=android&s_locale=zh_SG&season_id=".SS_ID."&sim_code=&spmid=&ts=".TS; } elseif ($path == "/intl/gateway/v2/app/search/type" || $path == "/intl/gateway/v2/app/subtitle") { $host = CUSTOM_HOST_SUB; -} elseif ($path == "/pgc/player/api/playurl" || $path == "/pgc/player/web/playurl" || $path == "/x/v2/search/type" || $path == "/x/web-interface/search/type") { +} elseif ($path == "/pgc/player/api/playurl" || $path == "/pgc/player/web/playurl" || $path == "/x/v2/search/type") { if (AREA=="cn") { $host = CUSTOM_HOST_CN; } else if (AREA=="hk") { @@ -45,6 +45,8 @@ if ($path == "/intl/gateway/v2/ogv/playurl") { } else { $host = CUSTOM_HOST_DEFAULT; } +} elseif ($path == "/x/web-interface/search/type") { + $host = CUSTOM_HOST_SEARCH; } else if (WEB_ON == 1) { if (CID == "" && EP_ID == "") { // 欢迎语