fix websock
This commit is contained in:
parent
21f7f4333a
commit
d734be7bb5
2 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,7 @@ WORKDIR /app
|
||||||
RUN ls /src && pip install -r requirements.txt
|
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 mkdir /public && cp /app/online_viewer.html /public/index.html && cp /app/no_img.jpg /public/
|
||||||
RUN sed -i 's/`ws:\/\/localhost:8000\/ws`/window.location.href.replace("http", "ws") + "\/ws\/"/g' /public/index.html
|
RUN sed -i 's/`ws:\/\/localhost:8000\/ws`/window.location.href.replace("http", "ws") + "\/ws\/"/g' /public/index.html
|
||||||
|
RUN sed -i "s/localhost/127.0.0.1/g" /app/websock.py
|
||||||
|
|
||||||
ADD rootfs /
|
ADD rootfs /
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
name: E-Paper Station
|
name: E-Paper Station
|
||||||
version: 1.0.0.42
|
version: 1.0.0.43
|
||||||
#image: ghcr.io/maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch}
|
#image: ghcr.io/maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch}
|
||||||
slug: epaper-station
|
slug: epaper-station
|
||||||
description: Publish images to E-Paper pricetags
|
description: Publish images to E-Paper pricetags
|
||||||
|
|
Loading…
Reference in a new issue