[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: Read WebUI URI from request header.
From: |
gnunet |
Subject: |
[libeufin] branch master updated: Read WebUI URI from request header. |
Date: |
Thu, 03 Nov 2022 11:48:29 +0100 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new 4016461c Read WebUI URI from request header.
4016461c is described below
commit 4016461c54ed2a0549769cc4ae9c09509253134d
Author: MS <ms@taler.net>
AuthorDate: Thu Nov 3 11:43:24 2022 +0100
Read WebUI URI from request header.
---
sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
index 4eba5c62..b6819a4d 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
@@ -1144,7 +1144,7 @@ val sandboxApp: Application.() -> Unit = {
)
}
val demobank = ensureDemobank(call)
- var captcha_page = call.request.getBaseUrl()
+ var captcha_page = call.request.header("X-Frontend-Uri")
?: call.request.getBaseUrl()
if (!captcha_page.endsWith("/")) {
captcha_page += "/"
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: Read WebUI URI from request header.,
gnunet <=