Skip to content

Commit

Permalink
Merge branch 'next' into feature/FOUR-9709
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanpro committed Oct 13, 2023
2 parents d73585c + 484260b commit d46b3e9
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 @@ -48,7 +48,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 d46b3e9

Please sign in to comment.