sed magic

This commit is contained in:
Jan-Henrik 2023-02-06 23:45:26 +01:00
parent bcc560ffff
commit 164036d407
2 changed files with 2 additions and 2 deletions

View file

@ -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 /

View file

@ -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