Running LoadBalancing Demo with custom server
Options
no1no
✭
How can I run the demo with custom server? The first argument for LoadBalancingClient is only accepting protocol and setting MasterAddress in cloud-app-info.js does nothing.
Edit: I'm able to run it by replacing this line in app.ts and rebuild the project:
Edit: I'm able to run it by replacing this line in app.ts and rebuild the project:
this.connectToRegionMaster("EU");with
this.setMasterServerAddress("ws://<your server address:port"); this.setNameServerAddress("ws://<your server address:port"); this.connect();
0
Comments
-
Cloud demos switched to nameserver use recently. For custom server you need to switch them back. You did it right.
Calling setNameServerAddress is not necessary.0