wr: sn: fo: X-Device-Id 추가

This commit is contained in:
dongsilove
2026-07-18 14:01:33 +09:00
parent 19dfe45b0b
commit e596c1f0a6
13 changed files with 130 additions and 19 deletions
+5
View File
@@ -19,6 +19,11 @@ async function handler(
"Content-Type": "application/json",
"X-Site-Id": SITE_ID,
};
const deviceId = request.headers.get("X-Device-Id");
if (deviceId) {
headers["X-Device-Id"] = deviceId;
}
let body = {};
const isRefreshHandler = params.url.includes("refresh");