Skip to content

Commit e6a1a76

Browse files
committed
Fix more oopsies
1 parent 3a51d36 commit e6a1a76

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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": [

src/components/MediaPlayer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ const thresholdNarrowscreen = 500;
2121
const 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 {

0 commit comments

Comments
 (0)