default http
This commit is contained in:
parent
7ebde3f4f3
commit
f51f35350b
1 changed files with 1 additions and 1 deletions
2
setup.sh
2
setup.sh
|
@ -24,7 +24,7 @@ fi
|
||||||
sed -i '/APP_ENV/d' $FILE
|
sed -i '/APP_ENV/d' $FILE
|
||||||
echo "APP_ENV=$ENVIRONMENT" >> $FILE
|
echo "APP_ENV=$ENVIRONMENT" >> $FILE
|
||||||
|
|
||||||
HTTP_METHOD=${HTTP_METHOD:=https}
|
HTTP_METHOD=${HTTP_METHOD:=http}
|
||||||
read -p "Enter http/https for testing on local environment ALWAYS use http [$HTTP_METHOD]: " input
|
read -p "Enter http/https for testing on local environment ALWAYS use http [$HTTP_METHOD]: " input
|
||||||
HTTP_METHOD=${input:=$HTTP_METHOD}
|
HTTP_METHOD=${input:=$HTTP_METHOD}
|
||||||
sed -i '/HTTP_METHOD/d' $FILE
|
sed -i '/HTTP_METHOD/d' $FILE
|
||||||
|
|
Loading…
Reference in a new issue