From 29f0ad890a423179fd5fd6131f94b0be8f808940 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 7 Sep 2022 16:09:58 +0200 Subject: pass uproc --- talermerchantdemos/blog/blog.py | 2 +- talermerchantdemos/donations/donations.py | 2 +- talermerchantdemos/survey/survey.py | 2 +- 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"))) ## -- cgit v1.2.3