Use current URL port as default mopidy port, fixes #98
This commit is contained in:
3
src/js/bootstrap.js
vendored
3
src/js/bootstrap.js
vendored
@ -28,14 +28,13 @@ var initialState = {
|
||||
mopidy: {
|
||||
connected: false,
|
||||
host: window.location.hostname,
|
||||
port: 6680,
|
||||
port: (window.location.port ? window.location.port : '80'),
|
||||
volume: 0,
|
||||
progress: 0,
|
||||
play_state: false
|
||||
},
|
||||
pusher: {
|
||||
connected: false,
|
||||
port: 6681,
|
||||
username: 'Anonymous',
|
||||
connections: {},
|
||||
version: {
|
||||
|
||||
@ -2,7 +2,6 @@
|
||||
.list {
|
||||
.list-item {
|
||||
@include clearfix;
|
||||
@include animate(0.1s);
|
||||
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
|
||||
Reference in New Issue
Block a user