Use cake to set baseurl

pull/1/head
Jason Kendall 2020-01-30 11:29:49 -05:00
parent 9932519113
commit 5dd9367736
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ init_misp_config(){
sed -i "s/db\s*password/$MYSQL_PASSWORD/" $MISP_APP_CONFIG_PATH/database.php
echo "Configure sane defaults"
sed -i "s#'baseurl' => ''#'baseurl' => '$HOSTNAME'#" $MISP_APP_CONFIG_PATH/config.php
/var/www/MISP/app/Console/cake Admin setSetting "MISP.baseurl" $HOSTNAME
}
init_misp_files(){