Permalink
Browse files

support for secure websockets

  • Loading branch information...
Schnitzel committed Jan 15, 2019
1 parent d6c5d54 commit cff531ebe52a673eaf164602fdd0f5b2c94913a8
Showing with 1 addition and 1 deletion.
  1. +1 −1 services/ui/src/lib/ApiConnection.js
@@ -28,7 +28,7 @@ const ApiConnection = ({ children }) =>
})

const wsLink = new WebSocketLink({
uri: publicRuntimeConfig.GRAPHQL_API.replace(/https?/, 'ws'),
uri: publicRuntimeConfig.GRAPHQL_API.replace(/https/, 'wss').replace(/http/, 'ws'),
options: {
reconnect: true,
connectionParams: {

0 comments on commit cff531e

Please sign in to comment.