Unset SD gen timeout

This commit is contained in:
Cohee 2023-09-14 21:49:29 +03:00
parent b24509ef43
commit cb8d9ac71b
1 changed files with 3 additions and 0 deletions

View File

@ -165,6 +165,7 @@ function registerEndpoints(app, jsonParser) {
headers: {
'Authorization': getBasicAuthHeader(request.body.auth),
},
timeout: 0,
});
const data = await result.json();
return data;
@ -184,6 +185,7 @@ function registerEndpoints(app, jsonParser) {
'Content-Type': 'application/json',
'Authorization': getBasicAuthHeader(request.body.auth),
},
timeout: 0,
});
if (!result.ok) {
@ -227,6 +229,7 @@ function registerEndpoints(app, jsonParser) {
'Content-Type': 'application/json',
'Authorization': getBasicAuthHeader(request.body.auth),
},
timeout: 0,
});
if (!result.ok) {