diff options
-rw-r--r-- | index.pl | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -641,10 +641,10 @@ get '/_redirect' => 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' => \&handle_request; +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; |