Skip to content

Commit

Permalink
fix: passing headers in websocket connectionParams (#577)
Browse files Browse the repository at this point in the history
  • Loading branch information
clwillingham committed Dec 7, 2023
1 parent 90f4765 commit 56960b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default defineNuxtPlugin((nuxtApp) => {

if (!auth) { return }

return { [clientConfig.authHeader!]: auth }
return { headers: { [clientConfig.authHeader!]: auth } }
}
})

Expand Down

0 comments on commit 56960b1

Please sign in to comment.