From a52f3d82f46dcb52cc62813dca9e2608aab03c27 Mon Sep 17 00:00:00 2001 From: cristianpb Date: Sun, 11 Feb 2024 15:43:31 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Remove=20mopidy=20host=20default?= =?UTF-8?q?=20variable=20value?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 2 -- src/lib/tools/stores.js | 9 ++------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index ee995d3..e14993d 100644 --- a/Makefile +++ b/Makefile @@ -15,8 +15,6 @@ export HOST_MUSIC_DIRECTORY=${APP_PATH}/data/music export HOST_PLAYLIST_DIRECTORY=${APP_PATH}/data/playlists export HOST_SNAPCAST_TEMP=/tmp/snapcast-mopidy -export PUBLIC_MOPIDY_HOST=localhost -export PUBLIC_MOPIDY_PORT=6680 export PUBLIC_VERSION=${APP_VERSION_CUT} dummy := $(shell touch artifacts) diff --git a/src/lib/tools/stores.js b/src/lib/tools/stores.js index 2e17e84..e1161ef 100644 --- a/src/lib/tools/stores.js +++ b/src/lib/tools/stores.js @@ -1,5 +1,4 @@ import { writable } from "svelte/store"; -import { PUBLIC_MOPIDY_HOST, PUBLIC_MOPIDY_PORT } from "$env/static/public"; export const mopidy = writable(null); @@ -35,13 +34,9 @@ export const albumImage = writable(""); export const playlists = writable([]); -export const mopidyHost = writable( - PUBLIC_MOPIDY_HOST ? PUBLIC_MOPIDY_HOST : "", -); +export const mopidyHost = writable(""); -export const mopidyPort = writable( - PUBLIC_MOPIDY_PORT ? PUBLIC_MOPIDY_PORT : "", -); +export const mopidyPort = writable(""); export const mopidySSL = writable("");