fix: codeql

This commit is contained in:
DarkSky
2026-02-03 23:34:33 +08:00
parent 18b8c7831f
commit 76eefcb4f3

View File

@@ -236,7 +236,7 @@ export async function safeFetch(
};
while (true) {
const response = await fetch(current.toString(), requestInit);
const response = await fetch(current, requestInit);
if (response.status >= 300 && response.status < 400) {
const location = response.headers.get('location');