fix websock

This commit is contained in:
Jan-Henrik 2023-02-09 19:22:54 +01:00
parent 21f7f4333a
commit d734be7bb5
2 changed files with 2 additions and 1 deletions

View file

@ -11,6 +11,7 @@ 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`/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 /

View file

@ -1,6 +1,6 @@
---
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}
slug: epaper-station
description: Publish images to E-Paper pricetags