Skip to content

Commit 2f26c06

Browse files
committed
chore: Turn off timeouts for file uploads
1 parent b305ce3 commit 2f26c06

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ApiClient.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ export class ApiClient {
6060

6161
try {
6262
const response = await fetch(`${this.apiConfig.baseUrl}${url}`, {
63-
signal,
63+
signal:
64+
requestContentType === 'multipart/form-data' ? undefined : signal,
6465
method,
6566
body: encodedBody,
6667
headers,

0 commit comments

Comments
 (0)