summaryrefslogtreecommitdiff
path: root/examples/travelynx.conf
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-02-14 21:41:32 +0100
committerDaniel Friesel <derf@finalrewind.org>2022-02-14 21:41:32 +0100
commit6fc21cac41e3b1bf4a6484fed736aec27b340b63 (patch)
tree058c5770141d57320f50f163e49fcd382040c3db /examples/travelynx.conf
parent170c7e420e89ec780ee336a508f4862feed651f0 (diff)
Use correct base URL when running a command job (work/maintenance)
Diffstat (limited to 'examples/travelynx.conf')
-rw-r--r--examples/travelynx.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/travelynx.conf b/examples/travelynx.conf
index 0499796..47bc92c 100644
--- a/examples/travelynx.conf
+++ b/examples/travelynx.conf
@@ -5,6 +5,16 @@
# 'localhost'.
{
+ # Base URL of this travelynx installation, e.g. "https://travelynx.de" for
+ # travelynx.de. Used to identify this travelynx instance when performing API
+ # requests (so API providers know whom to contact case of issues) and for
+ # imprint and other links in travelynx E-Mails. Note that this entry is
+ # only used when travelynx is performing requests or sending E-mails from
+ # a "work", "worker", or "maintenance" job. Otherwise, it will infer the
+ # base URL from the HTTP request. If your travelynx instance is reachable
+ # via multiple URLs, use any one of them.
+ base_url => Mojo::URL->new('https://FIXME.local'),
+
# travelynx relies on several backend projects. You may override the
# defaults to use other (e.g. self-hosted) instances.
backend => {