misc: finally drop 0.18 support
This commit is contained in:
1 parent
a14b5786ee
commit
c6c0236898
1 file changed
+1
-4
+1
-4
@@ -44,10 +44,7 @@ async function customFetch(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const url = toURL(input)
|
const res = await f(input, init)
|
||||||
if (auth && url) url.searchParams.set('auth', auth)
|
|
||||||
|
|
||||||
const res = await f(url ?? input, init)
|
|
||||||
if (!res.ok) error(res.status, await res.text())
|
if (!res.ok) error(res.status, await res.text())
|
||||||
return res
|
return res
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user