We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c186f53 commit b51ee62Copy full SHA for b51ee62
client/src/lib/hooks/useConnection.ts
@@ -304,8 +304,8 @@ export function useConnection({
304
bearerToken || (await serverAuthProvider.tokens())?.access_token;
305
if (token) {
306
const authHeaderName = headerName || "Authorization";
307
-
308
- // Add custom header name as a special request header to let the server know which header to pass through
+
+ // Add custom header name as a special request header to let the server know which header to pass through
309
if (authHeaderName.toLowerCase() !== "authorization") {
310
headers[authHeaderName] = token;
311
headers["x-custom-auth-header"] = authHeaderName;
0 commit comments