summaryrefslogtreecommitdiff
path: root/examples/travelynx.conf
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-10-30 10:02:58 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-10-30 10:02:58 +0200
commited0054fa50da9e4a3e08ef069b8b5bbc9709934f (patch)
tree26a60ee1ffb84c60f275ff22f651bb9b30151c0a /examples/travelynx.conf
parent2695442199d4db66bc70170cfc1aba894ddba545 (diff)
Allow usage of custom hafas-rest-api instances
Diffstat (limited to 'examples/travelynx.conf')
-rw-r--r--examples/travelynx.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/travelynx.conf b/examples/travelynx.conf
index 7f15d12..0499796 100644
--- a/examples/travelynx.conf
+++ b/examples/travelynx.conf
@@ -5,6 +5,12 @@
# 'localhost'.
{
+ # travelynx relies on several backend projects. You may override the
+ # defaults to use other (e.g. self-hosted) instances.
+ backend => {
+ hafas_rest_api => 'https://v5.db.transport.rest',
+ },
+
# Cache directories for schedule and realtime data. Mandatory. The parent
# directory ('/var/cache/travelynx' in this case) must already exist.
cache => {