Fix: include link-meta abort signal for timeout (close #1214) (#1240)

zio/stable
Paul Frazee 2023-08-22 16:36:36 -07:00 committed by GitHub
parent 54118fe478
commit fcea27ea0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ export async function getLinkMeta(
`${LINK_META_PROXY( `${LINK_META_PROXY(
store.session.currentSession?.service || '', store.session.currentSession?.service || '',
)}${encodeURIComponent(url)}`, )}${encodeURIComponent(url)}`,
{signal: controller.signal},
) )
const body = await response.json() const body = await response.json()