Skip to content

Commit

Permalink
fix(src): js
Browse files Browse the repository at this point in the history
Update CHANGELOG.md
Update response.dev.js
Update request.dev.js
Update package.json
Update response.js
Update request.js
  • Loading branch information
VirgilClyne committed Nov 1, 2024
1 parent b6a5be7 commit 4bb5d65
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
### 🛠️ Bug Fixes
* 修复`模块/插件/重写/覆写``URL正则表达式`以匹配新 API 域名
* 修复`脚本``switch (HOST)`以匹配新 API 域名
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@biliuniverse/global",
"version": "0.8.6",
"version": "0.8.7",
"organizationName": "🪐 BiliUniverse",
"displayName": "📺 BiliBili: 🌐 Global",
"description": "哔哩哔哩:全球模式\n中国站自动线路及全区搜索",
Expand Down
1 change: 1 addition & 0 deletions src/request.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ log(`⚠ FORMAT: ${FORMAT}`, "");
// 主机判断
switch (HOST) {
case "grpc.biliapi.net": // HTTP/2
case "app.biliapi.net": // HTTP/1.1
case "app.bilibili.com": // HTTP/1.1
switch (PATHs?.[0]) {
case "bilibili.app.viewunite.v1.View":
Expand Down
1 change: 1 addition & 0 deletions src/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ log(`⚠ FORMAT: ${FORMAT}`, "");
// 主机判断
switch (HOST) {
case "grpc.biliapi.net": // HTTP/2
case "app.biliapi.net": // HTTP/1.1
case "app.bilibili.com": // HTTP/1.1
switch (PATHs?.[0]) {
case "bilibili.app.viewunite.v1.View":
Expand Down
1 change: 1 addition & 0 deletions src/response.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ log(`⚠ FORMAT: ${FORMAT}`, "");
// 主机判断
switch (HOST) {
case "grpc.biliapi.net": // HTTP/2
case "app.biliapi.net": // HTTP/1.1
case "app.bilibili.com": // HTTP/1.1
switch (PATHs?.[0]) {
case "bilibili.app.viewunite.v1.View":
Expand Down
1 change: 1 addition & 0 deletions src/response.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ log(`⚠ FORMAT: ${FORMAT}`, "");
// 主机判断
switch (HOST) {
case "grpc.biliapi.net": // HTTP/2
case "app.biliapi.net": // HTTP/1.1
case "app.bilibili.com": // HTTP/1.1
switch (PATHs?.[0]) {
case "bilibili.app.viewunite.v1.View":
Expand Down

0 comments on commit 4bb5d65

Please sign in to comment.