Skip to content
Snippets Groups Projects
Commit edaa552f authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Automatically provision primary domain, closes #39

parent 674634f8
No related branches found
No related tags found
No related merge requests found
......@@ -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} ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment