diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-07-19 16:59:26 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-07-19 16:59:26 +0200 |
commit | 77512f64b3e4915bfa4bc783e384f458bc2f99be (patch) | |
tree | 04c4763204193756243a8ed13e95230dba0cd1fa | |
parent | 5b6bfde69be2be03cbe367ef9a31df229d3ec368 (diff) |
Adjust routes for recent Mojolicious changes
-rw-r--r-- | index.pl | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -652,13 +652,13 @@ get '/_imprint' => sub { }; get '/' => \&handle_request; -get '/:city/(*stop).html' => \&render_html; -get '/:city/(*stop).json' => \&render_json; -get '/:city/(*stop).png' => \&render_image; +get '/:city/<*stop>.html' => \&render_html; +get '/:city/<*stop>.json' => \&render_json; +get '/:city/<*stop>.png' => \&render_image; get '/:city/*stop' => \&handle_request; -get '/(:stop).html' => \&render_html; -get '/(:stop).json' => \&render_json; -get '/(:stop).png' => \&render_image; +get '/<:stop>.html' => \&render_html; +get '/<:stop>.json' => \&render_json; +get '/<:stop>.png' => \&render_image; get '/:stop' => \&handle_request; app->config( |