Set baseurl config

Steven 2021-03-09 14:48:01 +01:00
parent f519e804ee
commit ba64531a0b
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ if [ -r /.firstboot.tmp ]; then
echo "No base URL defined, don't forget to define it manually!"
else
echo "Fixing the MISP base URL ($MISP_BASEURL) ..."
sed -i "s/'baseurl' => '',/'baseurl' => '$MISP_BASEURL',/g" /var/www/MISP/app/Config/config.php
sed -i "s@'baseurl'[\t ]*=>[\t ]*'',@'baseurl' => '$MISP_BASEURL',@g" /var/www/MISP/app/Config/config.php
fi
# Generate the admin user PGP key