Skip to content

Commit

Permalink
re-introduce wss
Browse files Browse the repository at this point in the history
  • Loading branch information
mipyykko committed Apr 12, 2023
1 parent edb7d52 commit 03542eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/lib/with-apollo-client/get-apollo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ function create(
const wsLink = isBrowser
? new GraphQLWsLink(
createClient({
url: production ? "ws://www.mooc.fi/api/" : "ws://localhost:4000",
url: production ? "wss://www.mooc.fi/api/" : "ws://localhost:4000",
}),
)
: null
Expand Down

0 comments on commit 03542eb

Please sign in to comment.