From c58af273a7b4738d81aaf72d51db0b7c25d2167d Mon Sep 17 00:00:00 2001 From: Disassembler Date: Mon, 18 Sep 2017 11:20:56 +0200 Subject: [PATCH] Make Portal links for apps running on the same port as relative to Portal --- 02-sahana.sh | 2 +- 10-seeddms.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/02-sahana.sh b/02-sahana.sh index c51e5a2..4a14bd8 100755 --- a/02-sahana.sh +++ b/02-sahana.sh @@ -64,7 +64,7 @@ systemctl restart uwsgi systemctl restart nginx # Add portal application definition -${SOURCE_DIR}/basic/portal-app-manager.py sahana-eden "https://{host}/eden/" "${SAHANA_ADMIN_USER}" "${SAHANA_ADMIN_PWD}" +${SOURCE_DIR}/basic/portal-app-manager.py sahana-eden "/eden/" "${SAHANA_ADMIN_USER}" "${SAHANA_ADMIN_PWD}" # TODO: Does matplotlib still require MPLCONFIGDIR directory? # If so, /srv/sahana/wsgihandler.py needs to be modified diff --git a/10-seeddms.sh b/10-seeddms.sh index b4318b6..4ae74a4 100755 --- a/10-seeddms.sh +++ b/10-seeddms.sh @@ -43,7 +43,7 @@ systemctl restart php7.0-fpm systemctl restart nginx # Add portal application definition -${SOURCE_DIR}/basic/portal-app-manager.py seeddms "https://{host}/seeddms/" "${SEEDDMS_ADMIN_USER}" "${SEEDDMS_ADMIN_PWD}" +${SOURCE_DIR}/basic/portal-app-manager.py seeddms "/seeddms/" "${SEEDDMS_ADMIN_USER}" "${SEEDDMS_ADMIN_PWD}" # TODO: id3 ssconvers pdftotext catdoc # TODO: Test Lucene fulltext search