diff --git a/app/instances/ghql.instance.ts b/app/instances/ghql.instance.ts index ea81257..b334648 100644 --- a/app/instances/ghql.instance.ts +++ b/app/instances/ghql.instance.ts @@ -3,7 +3,7 @@ import { WebSocketLink } from '@apollo/client/link/ws'; import { SubscriptionClient } from 'subscriptions-transport-ws'; const wsLink = new WebSocketLink( - new SubscriptionClient(`ws://${process.env.BACKEND_URL}/graphql`, { + new SubscriptionClient(`wss://${process.env.BACKEND_URL}/graphql`, { reconnect: true, }) );