remove baseurl config

This commit is contained in:
aptalca
2018-02-07 16:16:24 -05:00
committed by GitHub
parent f0fb1690eb
commit dcb82e63c4

View File

@@ -4,17 +4,6 @@
mkdir -p \ mkdir -p \
/config/www/{backgrounds,icons} /config/www/{backgrounds,icons}
# set base url if needed
rm -rf /app/root
if [ -z "$BASEURL" ]; then
echo "No base url set. You can access the app at http://SERVERIP:PORT"
ln -s ./heimdall/public /app/root
else
echo "Setting base url. You can access the app at http://SERVERIP:PORT/$BASEURL"
mkdir -p /app/root
ln -s ../heimdall/public /app/root/"$BASEURL"
fi
# symlink user config # symlink user config
symlinks=( \ symlinks=( \