diff --git a/bahnplan.web/Pages/Index.cshtml b/bahnplan.web/Pages/Index.cshtml index 5b0d510..33c9df7 100644 --- a/bahnplan.web/Pages/Index.cshtml +++ b/bahnplan.web/Pages/Index.cshtml @@ -87,7 +87,7 @@
-

Add trip from oeffisear.ch or öv.ztn.sh

+

Add trip from oeffisear.ch or transit.ztn.sh


diff --git a/bahnplan.web/Pages/OEAPI.cshtml.cs b/bahnplan.web/Pages/OEAPI.cshtml.cs index 5eebad9..c815660 100644 --- a/bahnplan.web/Pages/OEAPI.cshtml.cs +++ b/bahnplan.web/Pages/OEAPI.cshtml.cs @@ -25,9 +25,9 @@ namespace bahnplan.web.Pages { var oepage = "oeffisear.ch"; if (link.Contains("oeffisear.ch")) shortcode = link.Split("/#/").Last(); - else if (link.Contains("öv.ztn.sh") || link.Contains("xn--v-0ga.ztn.sh")) { + else if (link.Contains("transit.ztn.sh")) { shortcode = link.Split("/#/").Last(); - oepage = "xn--v-0ga.ztn.sh"; + oepage = "transit.ztn.sh"; } var jid = shortcode.Split("/").Last(); shortcode = shortcode.Split("/").First(); @@ -73,4 +73,4 @@ namespace bahnplan.web.Pages { TripId = tripId; } } -} \ No newline at end of file +} diff --git a/bahnplan.web/Pages/Trip.cshtml b/bahnplan.web/Pages/Trip.cshtml index ff6a3ad..0b09515 100644 --- a/bahnplan.web/Pages/Trip.cshtml +++ b/bahnplan.web/Pages/Trip.cshtml @@ -170,7 +170,7 @@ else {
-

Add leg(s) from oeffisear.ch or öv.ztn.sh

+

Add leg(s) from oeffisear.ch or transitztn.sh


@@ -182,4 +182,4 @@ else {
-} \ No newline at end of file +}