commit 70f90feb3ffdda2f56b44d0fef475682c043eb30
parent dd3f2510bc8dddac3d02c1878161881d8916fc08
Author: MS <ms@taler.net>
Date: Sun, 5 Mar 2023 11:03:52 +0100
versioning demobank-ui-settings.js
Diffstat:
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/debian/usr/share/libeufin/demobank-ui/demobank-ui-settings.js b/debian/usr/share/libeufin/demobank-ui/demobank-ui-settings.js
@@ -0,0 +1,12 @@
+globalThis.talerDemobankSettings = {
+ // Only Admin adds users
+ allowRegistrations: false,
+ bankName: "Taler Bank",
+ // Show explainer text and navbar to other demo sites
+ showDemoNav: false,
+ bankBaseUrl: "http://localhost/demobanks/default/"
+};
+
+// Currently this is still required by demobank-ui,
+// the above, nicer method doesn't work yet.
+localStorage.setItem("bank-base-url", "http://localhost/demobanks/default/")