[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: settings example
From: |
gnunet |
Subject: |
[libeufin] branch master updated: settings example |
Date: |
Mon, 27 Nov 2023 13:53:11 +0100 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new af3a5e50 settings example
af3a5e50 is described below
commit af3a5e50d7d25011db76c5a2e694577217841a94
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Mon Nov 27 09:25:52 2023 -0300
settings example
---
debian/etc/libeufin/settings.js | 8 --------
debian/etc/libeufin/settings.json | 34 ++++++++++++++++++++++++++++++++++
2 files changed, 34 insertions(+), 8 deletions(-)
diff --git a/debian/etc/libeufin/settings.js b/debian/etc/libeufin/settings.js
deleted file mode 100644
index 1a88ce9d..00000000
--- a/debian/etc/libeufin/settings.js
+++ /dev/null
@@ -1,8 +0,0 @@
-globalThis.talerDemobankSettings = {
- // Only Admin adds users
- allowRegistrations: false,
- bankName: "Taler Bank",
- // Show explainer text and navbar to other demo sites
- showDemoNav: false,
- backendBaseURL: "http://localhost/"
-};
diff --git a/debian/etc/libeufin/settings.json
b/debian/etc/libeufin/settings.json
new file mode 100644
index 00000000..73ca45d2
--- /dev/null
+++ b/debian/etc/libeufin/settings.json
@@ -0,0 +1,34 @@
+// This file is an example of configuration of Bank SPA
+// Remove all the comments to make the file a valid
+// JSON file, otherwise no value here will make any
+// effect.
+// All the settings are optionals.
+{
+ // Where libeufin backend is localted
+ // default: window.origin without "webui/"
+ "backendBaseURL": "http://bank.taler.test:1180/",
+ // Shows a button "create random account" in the registration form
+ // Useful for testing
+ // default: false
+ "allowRandomAccountCreation": false,
+ // Create all random accounts with password "123"
+ // Useful for testing
+ // default: false
+ "simplePasswordForRandomAccounts": false,
+ // Bank name shown in the header
+ // default: "Taler Bank"
+ "bankName": "Taler TESTING Bank",
+ // URL where the user is going to be redirected after
+ // clicking in Taler Logo
+ // default: home page
+ "iconLinkURL": "#",
+ // Mapping for every link shown in the top navitation bar
+ // - key: link label, what the user will read
+ // - value: link target, where the user is going to be redirected
+ // default: empty list
+ "topNavSites": {
+ "Exchange": "http://Exchnage.taler.test:1180/",
+ "Bank": "http://bank-ui.taler.test:1180/",
+ "Merchant": "http://merchant.taler.test:1180/"
+ }
+}
--
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: settings example,
gnunet <=