diff --git a/app/lib/api-utils.ts b/app/lib/api-utils.ts index 6ff7d695..841071ef 100644 --- a/app/lib/api-utils.ts +++ b/app/lib/api-utils.ts @@ -16,6 +16,8 @@ const httpClient = axios.create({ // Keep connections alive to reduce socket churn httpAgent: new http.Agent({ keepAlive: true, maxSockets: 50 }), httpsAgent: new https.Agent({ keepAlive: true, maxSockets: 50 }), + // Do not throw on HTTP status by default; let callers handle + validateStatus: () => true, }); // Utility to get auth token from cookies on the server diff --git a/package.json b/package.json index b46b0e5f..95e1b609 100644 --- a/package.json +++ b/package.json @@ -118,5 +118,6 @@ "@tiptap/extension-mention": { "@tiptap/suggestion": "^2.1.16" } - } + }, + "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" }