Skip to content

Bugfix for wss protocol issue. #716

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Mar 26, 2022
Merged
8 changes: 8 additions & 0 deletions docs/source/about/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ Changed:
- :pull:`701`


0.37.2
------

Fixed:

- The boolean secure and its statement had typos, thus the wss protocol was not being called when website was served over https.


0.37.1
------

Expand Down
3 changes: 1 addition & 2 deletions src/client/packages/idom-app-react/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down