test
This commit is contained in:
parent
57dcfd2505
commit
6052b8a2d0
3
run.sh
3
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:]]*"`
|
||||
|
Loading…
Reference in New Issue
Block a user