File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " @stronk-tech/react-librespot-controller" ,
33 "description" : " `go-librespot` squeezebox-alike web frontend for small touchscreens" ,
4- "version" : " 0.1.6 " ,
4+ "version" : " 0.1.7 " ,
55 "main" : " dist/index.cjs.js" ,
66 "module" : " dist/index.esm.js" ,
77 "files" : [
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ const thresholdNarrowscreen = 500;
2121const MediaPlayer = ( {
2222 websocketUrl = process . env . REACT_APP_WS_URL || "ws://localhost:3678/events" ,
2323 apiBaseUrl = process . env . REACT_APP_API_BASE_URL || "http://localhost:3678" ,
24- kioskMode = ( process . env . REACT_APP_KIOSK_MODE . toLowerCase ( ) == "true" ) || false ,
25- hideOnDisconnect = ( process . env . REACT_APP_HIDE_ON_DISCONNECT . toLowerCase ( ) == "true" ) || false ,
24+ kioskMode = ( process . env . REACT_APP_KIOSK_MODE ? .toLowerCase ( ) == "true" ) || false ,
25+ hideOnDisconnect = ( process . env . REACT_APP_HIDE_ON_DISCONNECT ? .toLowerCase ( ) == "true" ) || false ,
2626 layout = process . env . REACT_APP_LAYOUT || "auto" ,
2727} ) => {
2828 const {
You can’t perform that action at this time.
0 commit comments