diff --git a/epaper-station/Dockerfile b/epaper-station/Dockerfile index 1be21cf..46272fb 100644 --- a/epaper-station/Dockerfile +++ b/epaper-station/Dockerfile @@ -10,7 +10,7 @@ RUN mv /src/CC2531_station/epaper_station_websocket/ /app WORKDIR /app RUN ls /src && pip install -r requirements.txt RUN mkdir /public && cp /app/online_viewer.html /public/index.html && cp /app/no_img.jpg /public/ -RUN sed -i 's/ws:\/\/localhost:8000\/ws/wss:\/\/ws/g' /public/index.html +RUN sed -i 's/`ws:\/\/localhost:8000\/ws`/window.location.href.replace("http", "ws") + "\/ws\/"/g' /public/index.html ADD rootfs / diff --git a/epaper-station/config.yaml b/epaper-station/config.yaml index 2d2e965..a15aaab 100644 --- a/epaper-station/config.yaml +++ b/epaper-station/config.yaml @@ -1,6 +1,6 @@ --- name: EPaper Station -version: 1.0.0.13 +version: 1.0.0.14 #image: ghcr.io/maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch} slug: epaper-station description: Publish Pictures to EPaper pricetags