gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant-backoffice] 09/11: bank: fix URL


From: gnunet
Subject: [taler-merchant-backoffice] 09/11: bank: fix URL
Date: Mon, 20 Dec 2021 17:45:07 +0100

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository merchant-backoffice.

commit 726c0a03611ca71e4911106dc34e4f8d641f9301
Author: ms <ms@taler.net>
AuthorDate: Sun Dec 19 22:19:54 2021 +0100

    bank: fix URL
---
 packages/bank/src/pages/home/index.tsx | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/packages/bank/src/pages/home/index.tsx 
b/packages/bank/src/pages/home/index.tsx
index b1993c0..baf9e75 100644
--- a/packages/bank/src/pages/home/index.tsx
+++ b/packages/bank/src/pages/home/index.tsx
@@ -309,9 +309,13 @@ async function loginCall(
    * will see again the login/register form).
    */
   pageStateSetter((prevState) => ({ ...prevState, isLoggedIn: true }));
+  let baseUrl = getRootPath();
+  if (!baseUrl.endsWith('/')) {
+    baseUrl += '/';
+  }
   backendStateSetter((prevState) => ({
     ...prevState,
-    url: getRootPath(),
+    url: baseUrl,
     username: req.username,
     password: req.password,
   }));

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]