mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-30 04:14:04 +02:00
Update run.sh
This commit is contained in:
@@ -3,20 +3,6 @@
|
|||||||
# wait for scrutiny to load
|
# wait for scrutiny to load
|
||||||
bashio::net.wait_for 8080
|
bashio::net.wait_for 8080
|
||||||
|
|
||||||
#######################
|
|
||||||
# VIEWPORT CORRECTION #
|
|
||||||
#######################
|
|
||||||
|
|
||||||
# correct viewport bug
|
|
||||||
grep -rl '"lt-md":"(max-width: 959px)"' /app | xargs sed -i 's|"lt-md":"(max-width: 959px)"|"lt-md":"(max-width: 100px)"|g' || true
|
|
||||||
|
|
||||||
######################
|
|
||||||
# API URL CORRECTION #
|
|
||||||
######################
|
|
||||||
|
|
||||||
# allow true url for ingress
|
|
||||||
grep -rl '/api/' /app | xargs sed -i 's|/api/|api/|g' || true
|
|
||||||
grep -rl 'api/' /app | xargs sed -i 's|api/|./api/|g' || true
|
|
||||||
|
|
||||||
#####################
|
#####################
|
||||||
# ADD LOCAL DEVICES #
|
# ADD LOCAL DEVICES #
|
||||||
|
|||||||
Reference in New Issue
Block a user