From 6052b8a2d00de0793538237e31fbfde8f8ac739d Mon Sep 17 00:00:00 2001 From: asmigiel Date: Tue, 7 Jan 2025 22:30:33 +0100 Subject: [PATCH] test --- run.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/run.sh b/run.sh index 651d14b..eaf5d2e 100644 --- a/run.sh +++ b/run.sh @@ -1,10 +1,9 @@ #!/bin/bash -FILE=./app_url.txt +FILE=/app/app_url.txt ROOT_URL=$(cat $FILE) - HOST=`echo $DATABASE_URL | grep -o "@.*/" | sed 's/.$//' | cut -c 2-` NAME=`echo $DATABASE_URL | grep -o "/[[:alnum:]]*$" | cut -c 2-` USER=`echo $DATABASE_URL | grep -o "//[[:alnum:]]*:" | grep -o "[[:alnum:]]*"`