From 2c856ebe3c2c70ccd591ae3447b2bacfba589559 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 25 Dec 2020 09:04:27 +0100 Subject: use BASE_URL consistently --- src/auditor/auditor.conf | 2 +- src/auditor/generate-auditor-basedb.conf | 1 - src/auditor/report-lib.c | 4 ++-- src/auditor/test-auditor.conf | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) (limited to 'src/auditor') diff --git a/src/auditor/auditor.conf b/src/auditor/auditor.conf index 81b9322fa..270836283 100644 --- a/src/auditor/auditor.conf +++ b/src/auditor/auditor.conf @@ -17,7 +17,7 @@ AUDITOR_PRIV_FILE = ${TALER_DATA_HOME}/auditor/offline-keys/auditor.priv # What is the Web site of the auditor (i.e. to file complaints about # a misbehaving exchange)? -# AUDITOR_URL = https://auditor.taler.net/ +# BASE_URL = https://auditor.taler.net/ # Network configuration for the normal API/service HTTP server diff --git a/src/auditor/generate-auditor-basedb.conf b/src/auditor/generate-auditor-basedb.conf index 9f5292d7d..5cd28269f 100644 --- a/src/auditor/generate-auditor-basedb.conf +++ b/src/auditor/generate-auditor-basedb.conf @@ -45,7 +45,6 @@ SERVE = tcp UNIXPATH = ${TALER_RUNTIME_DIR}/exchange.http UNIXPATH_MODE = 660 PORT = 8083 -AUDITOR_URL = http://localhost:8083/ BASE_URL = http://localhost:8083/ TINY_AMOUNT = TESTKUDOS:0.01 diff --git a/src/auditor/report-lib.c b/src/auditor/report-lib.c index e3b41b1a8..6334e6f65 100644 --- a/src/auditor/report-lib.c +++ b/src/auditor/report-lib.c @@ -681,12 +681,12 @@ TALER_ARL_init (const struct GNUNET_CONFIGURATION_Handle *c) if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_string (TALER_ARL_cfg, "auditor", - "AUDITOR_URL", + "BASE_URL", &TALER_ARL_auditor_url)) { GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, "auditor", - "AUDITOR_URL"); + "BASE_URL"); return GNUNET_SYSERR; } if (GNUNET_YES == GNUNET_is_zero (&TALER_ARL_master_pub)) diff --git a/src/auditor/test-auditor.conf b/src/auditor/test-auditor.conf index 3017e61f9..2089b156f 100644 --- a/src/auditor/test-auditor.conf +++ b/src/auditor/test-auditor.conf @@ -1,7 +1,7 @@ [auditor] DB = postgres TINY_AMOUNT = TESTKUDOS:0.01 -AUDITOR_URL = http://localhost:8083/ +BASE_URL = http://localhost:8083/ [exchange-account-1] PAYTO_URI = payto://x-taler-bank/localhost/Exchange -- cgit v1.2.3