Use current URL port as default mopidy port, fixes #98

This commit is contained in:
James Barnsley
2017-05-19 08:24:39 +12:00
parent bed0e6fcbd
commit de6375c469
2 changed files with 1 additions and 3 deletions

3
src/js/bootstrap.js vendored
View File

@ -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: {

View File

@ -2,7 +2,6 @@
.list {
.list-item {
@include clearfix;
@include animate(0.1s);
-webkit-touch-callout: none;
-webkit-user-select: none;