diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-02-02 18:16:52 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-02-02 18:16:52 +0100 |
commit | b52687b08e365610a213de348fbb94a01fcbcd68 (patch) | |
tree | ec2531a1aa1a1680355b408ee48f7a4d93cc9120 | |
parent | 67c4ab8bdffeae89e5f96e3f1cf35f565c02fad7 (diff) |
Switch to a more performant wagon order backend3.10.4
-rw-r--r-- | lib/DBInfoscreen/Helper/Wagonorder.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/DBInfoscreen/Helper/Wagonorder.pm b/lib/DBInfoscreen/Helper/Wagonorder.pm index defc4df..9e0612e 100644 --- a/lib/DBInfoscreen/Helper/Wagonorder.pm +++ b/lib/DBInfoscreen/Helper/Wagonorder.pm @@ -106,6 +106,7 @@ sub has_cycle_p { sub check_wagonorder_p { my ( $self, $train_no, $wr_link ) = @_; + return Mojo::Promise->new->resolve; return $self->head_dbdb_p( "https://lib.finalrewind.org/dbdb/has_wagonorder/${train_no}/${wr_link}" @@ -116,7 +117,7 @@ sub get_p { my ( $self, $train_no, $api_ts ) = @_; 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->{realtime_cache}; |