[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant-backoffice] branch master updated: no need to 'sed' on s
From: |
gnunet |
Subject: |
[taler-merchant-backoffice] branch master updated: no need to 'sed' on sites names |
Date: |
Mon, 18 Apr 2022 21:25:39 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository merchant-backoffice.
The following commit(s) were added to refs/heads/master by this push:
new fb7d94f no need to 'sed' on sites names
fb7d94f is described below
commit fb7d94ffa5469b0d28d5e508daa65b3291cffedd
Author: ms <ms@taler.net>
AuthorDate: Mon Apr 18 21:24:27 2022 +0200
no need to 'sed' on sites names
---
packages/bank/preact.single-config.js | 12 ------------
packages/bank/src/pages/home/index.tsx | 9 +++++----
2 files changed, 5 insertions(+), 16 deletions(-)
diff --git a/packages/bank/preact.single-config.js
b/packages/bank/preact.single-config.js
index d6e3024..0fb6f1d 100644
--- a/packages/bank/preact.single-config.js
+++ b/packages/bank/preact.single-config.js
@@ -56,17 +56,5 @@ export default {
}
//7. template.html should have a favicon and add js/css content
-
- //last, after building remove the mysterious link to stylesheet with
remove-link-stylesheet.sh
- let DEMO_SITES = {
- "Blog": process.env.TALER_ENV_URL_MERCHANT_BLOG,
- "Donations": process.env.TALER_ENV_URL_MERCHANT_DONATIONS,
- "Survey": process.env.TALER_ENV_URL_MERCHANT_SURVEY,
- "Landing": process.env.TALER_ENV_URL_INTRO,
- "Bank": process.env.TALER_ENV_URL_BANK,
- }
- config.plugins.push(
- new DefinePlugin({"DEMO_SITES": JSON.stringify(DEMO_SITES)})
- );
}
}
diff --git a/packages/bank/src/pages/home/index.tsx
b/packages/bank/src/pages/home/index.tsx
index ca9da77..00f818f 100644
--- a/packages/bank/src/pages/home/index.tsx
+++ b/packages/bank/src/pages/home/index.tsx
@@ -744,10 +744,11 @@ function BankFrame(Props: any): VNode {
// Prepare demo sites links.
let DEMO_SITES = [
- ["%DEMO_SITE_0_NAME%", "%DEMO_SITE_0_URL%"],
- ["%DEMO_SITE_1_NAME%", "%DEMO_SITE_1_URL%"],
- ["%DEMO_SITE_2_NAME%", "%DEMO_SITE_2_URL%"],
- ["%DEMO_SITE_3_NAME%", "%DEMO_SITE_3_URL%"],
+ ["Landing", "%DEMO_SITE_LANDING_URL%"],
+ ["Bank", "%DEMO_SITE_BANK_URL%"],
+ ["Blog", "%DEMO_SITE_BLOG_URL%"],
+ ["Donations", "%DEMO_SITE_DONATIONS_URL%"],
+ ["Survey", "%DEMO_SITE_SURVEY_URL%"],
];
let demo_sites = [];
for (const site in DEMO_SITES)
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-merchant-backoffice] branch master updated: no need to 'sed' on sites names,
gnunet <=