Automatically provision primary domain, closes #39
This commit is contained in:
parent
674634f839
commit
edaa552fb5
1 changed files with 2 additions and 1 deletions
|
@ -73,7 +73,8 @@ then
|
|||
|
||||
if [ -z ${SITE_URL+x} ]
|
||||
then
|
||||
SITE_URL="http://${URL}"
|
||||
PRIMARY_DOMAIN=`echo $URL | cut -d. -f2,3`
|
||||
SITE_URL="http://${PRIMARY_DOMAIN}"
|
||||
fi
|
||||
|
||||
if [ -z ${SITE_TIMEZONE+x} ]
|
||||
|
|
Loading…
Reference in a new issue