Skip to content

Commit fd020e4

Browse files
fix: close sse connections (#479)
1 parent 53dae54 commit fd020e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/api.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ export function createStreamingFetchAdapter(axiosInstance: AxiosInstance) {
104104

105105
const response = await axiosInstance.request({
106106
url: urlStr,
107+
signal: init?.signal,
107108
headers: init?.headers as Record<string, string>,
108109
responseType: "stream",
109110
validateStatus: () => true, // Don't throw on any status code

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy