summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/index.pl b/index.pl
index db0abd2..1cea291 100644
--- a/index.pl
+++ b/index.pl
@@ -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;