Merge branch 'master' of https://github.com/janza/Iris into janza-master
This commit is contained in:
@ -73,7 +73,7 @@ const PusherMiddleware = (function(){
|
||||
connection.username = connection.username.replace(/\W/g, '')
|
||||
|
||||
socket = new WebSocket(
|
||||
'ws://'+state.mopidy.host+':'+state.mopidy.port+'/iris/ws',
|
||||
'ws'+(window.location.protocol === 'https:' ? 's' : '')+'://'+state.mopidy.host+':'+state.mopidy.port+'/iris/ws',
|
||||
[ connection.clientid, connection.connection_id, connection.username ]
|
||||
);
|
||||
|
||||
@ -344,4 +344,4 @@ const PusherMiddleware = (function(){
|
||||
|
||||
})();
|
||||
|
||||
export default PusherMiddleware
|
||||
export default PusherMiddleware
|
||||
|
||||
Reference in New Issue
Block a user