sed magic
This commit is contained in:
parent
bcc560ffff
commit
164036d407
2 changed files with 2 additions and 2 deletions
|
@ -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 /
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue