Moving docker files into subfolder for sanity

This commit is contained in:
James Barnsley
2019-04-22 14:24:10 +12:00
parent eaf744aced
commit f89e44e184
7 changed files with 16 additions and 6 deletions

View File

@ -44,13 +44,13 @@ RUN set -ex \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ~/.cache
# Start helper script.
COPY entrypoint.sh /entrypoint.sh
COPY docker/entrypoint.sh /entrypoint.sh
# Default configuration.
COPY mopidy.conf /config/mopidy.conf
COPY docker/mopidy.conf /config/mopidy.conf
# Copy the pulse-client configuratrion.
COPY pulse-client.conf /etc/pulse/client.conf
COPY docker/pulse-client.conf /etc/pulse/client.conf
# Allows any user to run mopidy, but runs by default as a randomly generated UID/GID.
ENV HOME=/var/lib/mopidy

View File

@ -72234,7 +72234,7 @@ var PusherMiddleware = function () {
});
};
socket.onclose = function () {
socket.onclose = function (e) {
store.dispatch({
type: 'PUSHER_DISCONNECTED'
});
@ -72243,6 +72243,16 @@ var PusherMiddleware = function () {
setTimeout(function () {
store.dispatch(pusherActions.connect());
}, 5000);
if (e.code !== 3001) {
store.dispatch(coreActions.handleException('Pusher websocket connection error', e));
};
};
socket.onerror = function (e) {
if (socket.readyState == 1) {
store.dispatch(coreActions.handleException('Pusher websocket error', e, e.type));
}
};
socket.onmessage = function (message) {

File diff suppressed because one or more lines are too long

View File

@ -98,7 +98,7 @@
// Release details
// These are automatically injected to built HTML
var build = "1555896061";
var build = "1555898186";
var version = "3.36.0";
// Construct the script tag