@nitra/vite-boot 4.0.0 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/apollo.js +1 -1
- package/src/token.js +1 -0
package/package.json
CHANGED
package/src/apollo.js
CHANGED
|
@@ -58,7 +58,7 @@ const authLink = setContext((_, { headers }) => {
|
|
|
58
58
|
return prepareHeaders({ ...headers })
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
-
const wsLink = new GraphQLWsLink(
|
|
61
|
+
export const wsLink = new GraphQLWsLink(
|
|
62
62
|
createClient({
|
|
63
63
|
url: `${import.meta.env.VITE_HASURA_PROTOCOL}://${import.meta.env.VITE_HASURA_HOST}/v1/graphql`,
|
|
64
64
|
connectionParams: () => {
|