summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--talermerchantdemos/blog/blog.py2
-rw-r--r--talermerchantdemos/donations/donations.py2
-rw-r--r--talermerchantdemos/survey/survey.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/talermerchantdemos/blog/blog.py b/talermerchantdemos/blog/blog.py
index d1d6a05..8d2f4bf 100644
--- a/talermerchantdemos/blog/blog.py
+++ b/talermerchantdemos/blog/blog.py
@@ -112,7 +112,7 @@ LOGGER.info(
# Add context processor that will make additional variables
# and functions available in the template.
-app.context_processor(make_utility_processor("blog", url_for('index')))
+app.context_processor(make_utility_processor("blog", os.environ.get ("TALER_ENV_URL_MERCHANT_BLOG")))
##
diff --git a/talermerchantdemos/donations/donations.py b/talermerchantdemos/donations/donations.py
index 7673eef..21c404b 100644
--- a/talermerchantdemos/donations/donations.py
+++ b/talermerchantdemos/donations/donations.py
@@ -79,7 +79,7 @@ LOGGER.info(
# Add context processor that will make additional variables
# and functions available in the template.
-app.context_processor(make_utility_processor("donations", url_for ('index')))
+app.context_processor(make_utility_processor("donations", os.environ.get ("TALER_ENV_URL_MERCHANT_DONATIONS")))
##
# Return a error response to the client.
diff --git a/talermerchantdemos/survey/survey.py b/talermerchantdemos/survey/survey.py
index 5582f94..7e434ce 100644
--- a/talermerchantdemos/survey/survey.py
+++ b/talermerchantdemos/survey/survey.py
@@ -86,7 +86,7 @@ app.add_template_global(self_localized)
# Add context processor that will make additional variables
# and functions available in the template.
-app.context_processor(make_utility_processor("survey", url_for('index')))
+app.context_processor(make_utility_processor("survey", os.environ.get ("TALER_ENV_URL_MERCHANT_SURVEY")))
##