🚀 Angry-ip-scanner: Change tp ghcr (#118)

This commit is contained in:
Max Winterstein
2022-11-29 08:46:40 +01:00
committed by GitHub
parent b615cfcd6c
commit 7fd7141537
21 changed files with 32 additions and 24 deletions
@@ -0,0 +1,6 @@
#!/usr/bin/with-contenv bashio
# ==============================================================================
# Configure NGINX for use with Angry IP Scanner
# ==============================================================================
ingress_entry=$(bashio::addon.ingress_entry)
sed -i "s#%%ingress_entry%%#${ingress_entry}#g" /etc/nginx/nginx.conf
@@ -0,0 +1,7 @@
#!/usr/bin/with-contenv bashio
# ==============================================================================
# Setup noVNC
# ==============================================================================
declare ingress_entry
ingress_entry=$(bashio::addon.ingress_entry)
sed -i "s#websockify#${ingress_entry#?}/novnc/websockify#g" /usr/share/novnc/vnc_lite.html