Skip to content

Commit

Permalink
🎨 Remove mopidy host default variable value
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianpb committed Feb 11, 2024
1 parent 011f602 commit a52f3d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
9 changes: 2 additions & 7 deletions src/lib/tools/stores.js
Original file line number Diff line number Diff line change
@@ -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);

Expand Down Expand Up @@ -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("");

Expand Down

0 comments on commit a52f3d8

Please sign in to comment.