diff --git a/app_url.txt b/app_url.txt index b1cab7c..442aa24 100644 --- a/app_url.txt +++ b/app_url.txt @@ -1 +1 @@ -https://s464951-gitea-fa34820a73f7.herokuapp.com/ +https://s464951-gitea-a380da1505b2.herokuapp.com/ diff --git a/run.sh b/run.sh index 9b0fe5d..1c3a33e 100644 --- a/run.sh +++ b/run.sh @@ -5,6 +5,8 @@ FILE=./app_url.txt ROOT_URL=$(cat $FILE) printf($ROOT_URL) +printf($DATABSE_URL) + 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:]]*"`