i am stupid
This commit is contained in:
parent
6491a4b57d
commit
5086d344e2
|
|
@ -30,7 +30,7 @@ async function uploadImage(id: string, url: string) {
|
||||||
headers: {
|
headers: {
|
||||||
'x-authtoken': keys.videos[0].secret
|
'x-authtoken': keys.videos[0].secret
|
||||||
},
|
},
|
||||||
body: await response.arrayBuffer()
|
body: arrayBuffer
|
||||||
})
|
})
|
||||||
return uploaded.url.replace(keys.endpoint, 'https://s4.archive.party')
|
return uploaded.url.replace(keys.endpoint, 'https://s4.archive.party')
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue