mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-28 11:24:04 +02:00
Update 99-run
This commit is contained in:
@@ -7,17 +7,3 @@
|
|||||||
bashio::log.info "Setting permissions"
|
bashio::log.info "Setting permissions"
|
||||||
chown -R abc:abc /data
|
chown -R abc:abc /data
|
||||||
|
|
||||||
#######################
|
|
||||||
# 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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user