diff options
-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( |