diff --git a/docs/source/about/changelog.rst b/docs/source/about/changelog.rst index e00370b52..2c9eb53a2 100644 --- a/docs/source/about/changelog.rst +++ b/docs/source/about/changelog.rst @@ -23,6 +23,14 @@ Changed: - :pull:`701` +0.37.2 +------ + +Fixed: + +- A typo caused IDOM to use the insecure `ws` web-socket protocol on pages loaded with `https` instead of the secure `wss` protocol - :pull:`716` + + 0.37.1 ------ diff --git a/src/client/packages/idom-app-react/src/index.js b/src/client/packages/idom-app-react/src/index.js index 311f5aeed..1f57c5fa9 100644 --- a/src/client/packages/idom-app-react/src/index.js +++ b/src/client/packages/idom-app-react/src/index.js @@ -6,9 +6,8 @@ export function mount(mountPoint) { port: document.location.port, path: "../", query: queryParams.user.toString(), - secture: document.location.protocol == "https", + secure: document.location.protocol == "https:", }); - mountWithLayoutServer(mountPoint, serverInfo, shouldReconnect() ? 45 : 0); }