Rebasing middleware pre-merge
This commit is contained in:
@ -152,13 +152,8 @@ const MopidyMiddleware = (function(){
|
||||
|
||||
var state = store.getState();
|
||||
|
||||
if (window.location.protocol == 'https'){
|
||||
var protocol = 'wss'
|
||||
} else {
|
||||
var protocol = 'ws'
|
||||
}
|
||||
socket = new Mopidy({
|
||||
webSocketUrl: protocol+'://'+state.mopidy.host+':'+state.mopidy.port+'/mopidy/ws',
|
||||
webSocketUrl: 'ws://'+state.mopidy.host+':'+state.mopidy.port+'/mopidy/ws',
|
||||
callingConvention: 'by-position-or-by-name'
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user