Make redirect consistent with setup

This commit is contained in:
William Wernert
2021-09-23 12:57:08 -04:00
parent 8b905b585d
commit f8bea82430

View File

@@ -704,8 +704,8 @@ thehive_maint() {
done done
if [ "$THEHIVE_CONNECTED" == "yes" ]; then if [ "$THEHIVE_CONNECTED" == "yes" ]; then
echo "Migrating thehive databases if needed." echo "Migrating thehive databases if needed."
curl -v -k -XPOST -L "https://localhost/thehive/api/maintenance/migrate" &>> "$SOUP_LOG" curl -v -k -XPOST -L "https://localhost/thehive/api/maintenance/migrate" >> "$SOUP_LOG" 2>&1
curl -v -k -XPOST -L "https://localhost/cortex/api/maintenance/migrate" &>> "$SOUP_LOG" curl -v -k -XPOST -L "https://localhost/cortex/api/maintenance/migrate" >> "$SOUP_LOG" 2>&1
fi fi
} }