Skip to content

Commit

Permalink
HTTPS Socket Support + Resize patch
Browse files Browse the repository at this point in the history
  • Loading branch information
sentivate committed Feb 21, 2022
1 parent 389fcee commit ef47a5c
Show file tree
Hide file tree
Showing 14 changed files with 226 additions and 166 deletions.
98 changes: 54 additions & 44 deletions uwBridge/apps/client/example!/filesystem/public/Sentivate.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions uwBridge/apps/client/example!/filesystem/public/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -4494,9 +4494,13 @@
});
const socketInitialize = () => {
console.log('Worker Socket Module', 'notify');
const serverLocation = `${routerData.protocol}//${app.config.socketHostname || routerData.hostname}:${app.config.port}`;
let serverLocation = `${routerData.protocol}//${app.config.socketHostname || routerData.hostname}`;
if (app.config.port) {
serverLocation = `${serverLocation}:${app.config.port}`;
}
socket = self.io.connect(serverLocation, {
transports: ['websocket']
transports: ['websocket'],
secure: true
});
// this listens for client API calls
socket.on('api', apiClient);
Expand Down
Loading

0 comments on commit ef47a5c

Please sign in to comment.