commit 29f0ad890a423179fd5fd6131f94b0be8f808940
parent 7263e390c40f2fba22e5f2d026b7a8f962f69d71
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 7 Sep 2022 16:09:58 +0200
pass uproc
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git 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
@@ -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
@@ -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")))
##