Update client/src/lib/hooks/useConnection.ts
This commit is contained in:
parent
fdd5bec519
commit
04898cb5ce
1 changed files with 2 additions and 1 deletions
|
|
@ -367,7 +367,8 @@ export function useConnection({
|
||||||
(error instanceof StreamableHTTPError && error.code === 401) ||
|
(error instanceof StreamableHTTPError && error.code === 401) ||
|
||||||
(error instanceof Error && error.message.includes("401")) ||
|
(error instanceof Error && error.message.includes("401")) ||
|
||||||
(error instanceof Error && error.message.includes("Unauthorized")) ||
|
(error instanceof Error && error.message.includes("Unauthorized")) ||
|
||||||
(error instanceof Error && error.message.includes("Missing Authorization header"))
|
(error instanceof Error &&
|
||||||
|
error.message.includes("Missing Authorization header"))
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue