chore(fetcher): enable keepalive
This commit is contained in:
parent
63a53a18cc
commit
65d2d0ac83
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ export class Fetcher {
|
|||
|
||||
let response;
|
||||
try {
|
||||
response = await fetch(url, { ...init, signal: controller.signal });
|
||||
response = await fetch(url, { ...init, keepalive: true, signal: controller.signal });
|
||||
} finally {
|
||||
clearTimeout(timer);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue