diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-10-11 11:34:39 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-10-11 11:34:39 +0200 |
commit | fffe8dcdfa0f5110b0b279e6d9989fbcea853cad (patch) | |
tree | bc986a0117e585a6ef8a703e7ca517033cb85c86 /lib/Travelynx/Helper/HAFAS.pm | |
parent | 4575beb6ff648954dbd479fced38b856b7e73c34 (diff) |
Switch to transport.rest v5 for polyline requests
Diffstat (limited to 'lib/Travelynx/Helper/HAFAS.pm')
-rw-r--r-- | lib/Travelynx/Helper/HAFAS.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Helper/HAFAS.pm b/lib/Travelynx/Helper/HAFAS.pm index b763960..fbca740 100644 --- a/lib/Travelynx/Helper/HAFAS.pm +++ b/lib/Travelynx/Helper/HAFAS.pm @@ -28,7 +28,7 @@ sub get_polyline_p { my $line = $train->line // 0; my $url - = "https://2.db.transport.rest/trips/${trip_id}?lineName=${line}&polyline=true"; + = "https://v5.db.transport.rest/trips/${trip_id}?lineName=${line}&polyline=true"; my $cache = $self->{main_cache}; my $promise = Mojo::Promise->new; my $version = $self->{version}; |