Skip to content

Commit 91c19f6

Browse files
committed
Try adress fix
1 parent 6b47c4c commit 91c19f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jderobot-commsmanager",
3-
"version": "1.0.11",
3+
"version": "1.0.12",
44
"main": "dist/main.js",
55
"typings": "dist/index.d.ts",
66
"scripts": {

src/components/CommsManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ export default class CommsManager {
7878

7979
// Singleton behavior
8080
public static getInstance(address?: string): CommsManager {
81+
CommsManager.adress = address ? address : "ws://127.0.0.1:7163";
8182
if (!CommsManager.instance) {
82-
CommsManager.adress = address ? address : "ws://127.0.0.1:7163";
8383
CommsManager.instance = new CommsManager();
8484
}
8585
return CommsManager.instance;

0 commit comments

Comments
 (0)