File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -560,10 +560,12 @@ instance.prototype.connectToProPresenter = function() {
560
560
// Disconnect if already connected
561
561
self . disconnectFromProPresenter ( ) ;
562
562
563
- if ( self . config . host === '' || self . config . port === '' ) {
563
+ if ( self . config . host === undefined || self . config . port === '' ) {
564
+ return ;
565
+ }
566
+ if ( self . config . host === '127.0.0.1' ) {
564
567
return ;
565
568
}
566
-
567
569
// Connect to remote control websocket of ProPresenter
568
570
self . socket = new WebSocket ( 'ws://' + self . config . host + ':' + self . config . port + '/remote' ) ;
569
571
@@ -618,7 +620,7 @@ instance.prototype.connectToProPresenterSD = function() {
618
620
// Disconnect if already connected
619
621
self . disconnectFromProPresenterSD ( ) ;
620
622
621
- if ( self . config . host === '' ) {
623
+ if ( self . config . host === undefined ) {
622
624
return ;
623
625
}
624
626
Original file line number Diff line number Diff line change 4
4
" propresenter6" ,
5
5
" propresenter"
6
6
],
7
- "version" : " 2.3.0 " ,
7
+ "version" : " 2.3.1 " ,
8
8
"api_version" : " 1.0.0" ,
9
9
"keywords" : [
10
10
" Software" ,
You can’t perform that action at this time.
0 commit comments