summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Helper/DBDB.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-02-02 18:17:45 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-02-02 18:17:45 +0100
commit5bef0bdda9e5d57672ed54098e941fa783a520be (patch)
tree75feaa6506daec007fcd82e86d6b7c18e35bdbed /lib/Travelynx/Helper/DBDB.pm
parenta4ff5e8ad870d2703adcb479e86f9b2167ef6630 (diff)
Switch to a more performant wagon order backend
Diffstat (limited to 'lib/Travelynx/Helper/DBDB.pm')
-rw-r--r--lib/Travelynx/Helper/DBDB.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Helper/DBDB.pm b/lib/Travelynx/Helper/DBDB.pm
index e6d7c60..916b4cb 100644
--- a/lib/Travelynx/Helper/DBDB.pm
+++ b/lib/Travelynx/Helper/DBDB.pm
@@ -70,7 +70,7 @@ sub get_wagonorder_p {
my ( $self, $ts, $train_no ) = @_;
my $api_ts = $ts->strftime('%Y%m%d%H%M');
my $url
- = "https://www.apps-bahn.de/wr/wagenreihung/1.0/${train_no}/${api_ts}";
+ = "https://ist-wr.noncd.db.de/wagenreihung/1.0/${train_no}/${api_ts}";
my $cache = $self->{cache};
my $promise = Mojo::Promise->new;