Skip to content

Commit 913a9b1

Browse files
committed
Add the server attribute
1 parent 6b04b07 commit 913a9b1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/board/Bit.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
});
5353

5454
Bit.DEFAULT_SERVER = 'wss://ws.webduino.io:443';
55+
Bit.SERVER_CHINA = 'wss://ws.webduino.com.cn';
5556

5657
proto.startup = function () {
5758
this._isReady = true;

src/board/Smart.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
});
5151

5252
Smart.DEFAULT_SERVER = 'wss://ws.webduino.io:443';
53+
Smart.SERVER_CHINA = 'wss://ws.webduino.com.cn';
5354

5455
scope.board.Smart = Smart;
5556
}));

0 commit comments

Comments
 (0)