Skip to content

Commit

Permalink
0.6.14 - enable wss:// protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
carlevans719 committed Jan 29, 2019
1 parent 6555105 commit 65f66e2
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webantic/react-web-meteor",
"version": "0.6.13",
"version": "0.6.14",
"description": "Meteor Reactivity for your React application",
"main": "dist/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/URL.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const absoluteUrl = (path) => {
export const absoluteApiUrl = (path) => {
const wsUrl = Data.ddp.socket.endpoint

return wsUrl.replace('ws:', window.location.protocol).replace('/websocket', '') + path
return wsUrl.replace(/wss?:/, window.location.protocol).replace('/websocket', '') + path
}

// Encode URL paramaters into a query string, handling nested objects and
Expand Down
Binary file removed webantic-react-web-meteor-0.6.13.tgz
Binary file not shown.
Binary file added webantic-react-web-meteor-0.6.14.tgz
Binary file not shown.

0 comments on commit 65f66e2

Please sign in to comment.