Skip to content
This repository was archived by the owner on Nov 21, 2024. It is now read-only.

Commit 41aacc7

Browse files
committed
Update response.dev.js
1 parent f244398 commit 41aacc7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/response.dev.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,14 @@ log(`⚠ FORMAT: ${FORMAT}`, "");
6767
case "application/json":
6868
body = JSON.parse($response.body ?? "{}");
6969
switch (HOST) {
70+
case "api.weather.com":
71+
// 路径判断
72+
switch (PATH) {
73+
case "/v2/globalairquality":
74+
log(`🚧 globalairquality: ${JSON.stringify(body)}`, "");
75+
break;
76+
}
77+
break;
7078
case "weatherkit.apple.com":
7179
// 路径判断
7280
if (PATH.startsWith("/api/v1/availability/")) {

0 commit comments

Comments
 (0)