Skip to content

Commit

Permalink
chore: release 2.18.1
Browse files Browse the repository at this point in the history
chore: release 2.18.1
  • Loading branch information
arsenijesavic authored Nov 8, 2022
2 parents 23c18f3 + 26be019 commit 748854f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apollo/apollo-client-hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const httpLink = new HttpLink({

// Create the subscription websocket link
const wsLink = new WebSocketLink({
uri: process.env.GRAPHQL_SUBSCRIPTIONS_URI || 'ws://alpha-stts.tekit.io/graphql',
uri: process.env.GRAPHQL_URI.replace('https', 'wss') || 'wss://alpha-stts.tekit.io/graphql',
options: {
reconnect: true
}
Expand Down

0 comments on commit 748854f

Please sign in to comment.