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)
|
||||
if (auth && url) url.searchParams.set('auth', auth)
|
||||
|
||||
const res = await f(url ?? input, init)
|
||||
const res = await f(input, init)
|
||||
if (!res.ok) error(res.status, await res.text())
|
||||
return res
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user