mirror of
https://github.com/imputnet/cobalt.git
synced 2025-07-18 19:28:29 +00:00
chore: minor fix
This commit is contained in:
parent
cb60b6ebe7
commit
cba9c6f91f
@ -9,7 +9,7 @@ const headers = {
|
|||||||
'Sec-Fetch-Site': 'none',
|
'Sec-Fetch-Site': 'none',
|
||||||
}
|
}
|
||||||
|
|
||||||
async function resolveUrl(url) {
|
function resolveUrl(url) {
|
||||||
return fetch(url, { headers })
|
return fetch(url, { headers })
|
||||||
.then(r => {
|
.then(r => {
|
||||||
if (r.headers.get('location')) {
|
if (r.headers.get('location')) {
|
||||||
|
Loading…
Reference in New Issue
Block a user