From 038df7b76c5de975aa7c9423efae29e77a0e7a44 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 3 Apr 2021 12:14:18 +0200 Subject: [PATCH] Update run.sh --- scrutiny/rootfs/run.sh | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/scrutiny/rootfs/run.sh b/scrutiny/rootfs/run.sh index ab523dbf6..1d7a07077 100644 --- a/scrutiny/rootfs/run.sh +++ b/scrutiny/rootfs/run.sh @@ -3,20 +3,6 @@ # wait for scrutiny to load 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 #