summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfig/generate-config5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/generate-config b/config/generate-config
index 7772b2b..9bc91ad 100755
--- a/config/generate-config
+++ b/config/generate-config
@@ -78,7 +78,10 @@ def config(currency, envname, exchange_pub, standalone):
else:
cfg_put("merchantdb-postgres", "config", "postgres:///taler{}".format(envname))
- cfg_put("merchant-exchange-test", "URI", "https://exchange.{}.taler.net/".format(envname))
+ if standalone:
+ cfg_put("merchant-exchange-test", "URI", "https://env.taler.net/{}/exchange/".format(envname))
+ else:
+ cfg_put("merchant-exchange-test", "URI", "https://exchange.{}.taler.net/".format(envname))
cfg_put("merchant-exchange-test", "MASTER_KEY", exchange_pub)
cfg_put("frontends", "BACKEND", "https://shop.{}.taler.net/backend/".format(envname))