[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-merchant-demos] branch master updated: adapt survey to prox
From: |
gnunet |
Subject: |
[taler-taler-merchant-demos] branch master updated: adapt survey to proxy path prefix |
Date: |
Sat, 27 Nov 2021 07:52:03 +0100 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository taler-merchant-demos.
The following commit(s) were added to refs/heads/master by this push:
new 038cac1 adapt survey to proxy path prefix
038cac1 is described below
commit 038cac1c3d0938fb702ad7f276dbd593e545dc1a
Author: ms <ms@taler.net>
AuthorDate: Sat Nov 27 07:42:05 2021 +0100
adapt survey to proxy path prefix
---
talermerchantdemos/survey/survey.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/talermerchantdemos/survey/survey.py
b/talermerchantdemos/survey/survey.py
index 7c5db1a..8c5ebb9 100644
--- a/talermerchantdemos/survey/survey.py
+++ b/talermerchantdemos/survey/survey.py
@@ -142,7 +142,7 @@ def submit_survey(lang):
def index():
default = "en"
target = flask.request.accept_languages.best_match(translations, default)
- return flask.redirect("/" + target + "/", code=302)
+ return flask.redirect(target + "/", code=302)
##
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-taler-merchant-demos] branch master updated: adapt survey to proxy path prefix,
gnunet <=