Fix redirect to append

This commit is contained in:
William Wernert
2021-09-23 12:55:06 -04:00
parent b44358fc26
commit 8b905b585d

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"
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"
fi fi
} }