From 853c78be0fb6da8026c01c8f3ad5b841ee48870a Mon Sep 17 00:00:00 2001 From: Daniel Garcia Briseno <94071409+dgarciabriseno@users.noreply.github.com> Date: Thu, 2 Nov 2023 12:22:22 -0400 Subject: [PATCH] fix cache dir --- compose/scripts/api_config.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/compose/scripts/api_config.sh b/compose/scripts/api_config.sh index e966479..88fad9b 100644 --- a/compose/scripts/api_config.sh +++ b/compose/scripts/api_config.sh @@ -3,6 +3,7 @@ set -e SETTINGS_DIR=/var/www/api.helioviewer.org/settings sed "s|/var/www-api|/var/www/api.helioviewer.org|" ${SETTINGS_DIR}/Config.Example.ini > ${SETTINGS_DIR}/Config.ini +sed -i "s|/var/www/api.helioviewer.org/docroot/cache|/var/www/helioviewer.org/cache|" ${SETTINGS_DIR}/Config.ini sed -i "s|/var/www/api.helioviewer.org/docroot/jp2|/tmp/jp2|" ${SETTINGS_DIR}/Config.ini echo "acao_url[] = http://localhost:8080" >> ${SETTINGS_DIR}/Config.ini