Skip to content

Commit

Permalink
Merge branch 'next' into feature/FOUR-10790
Browse files Browse the repository at this point in the history
  • Loading branch information
agustinbusso authored Oct 16, 2023
2 parents b992a77 + 484260b commit 4e8b766
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@processmaker/modeler",
"version": "1.39.14",
"version": "1.39.15",
"scripts": {
"serve": "vue-cli-service serve --mode development",
"test:unit": "vue-cli-service test:unit",
Expand Down
2 changes: 1 addition & 1 deletion src/multiplayer/multiplayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default class Multiplayer {
this.room = new Room(`room-${window.ProcessMaker.modeler.process.id}`);

// Connect to websocket server
this.clientIO = io(process.env.VUE_APP_WEBSOCKET_PROVIDER, { transports: ['websocket', 'polling']});
this.clientIO = io(window.ProcessMaker.multiplayer.host, { transports: ['websocket', 'polling']});

this.clientIO.on('connect', () => {
// Join the room
Expand Down
4 changes: 4 additions & 0 deletions src/setup/globals.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ window.ProcessMaker = {
navbar: {
alerts: [],
},
multiplayer:{
host: process.env.VUE_APP_WEBSOCKET_PROVIDER,
},
EventBus: new Vue(),
apiClient: axios,
alert(msg, variant, showValue = 60, stayNextScreen = false) {
Expand All @@ -54,4 +57,5 @@ window.ProcessMaker = {
id: 1,
},
},

};

0 comments on commit 4e8b766

Please sign in to comment.