summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cgi/index.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/cgi/index.pl b/cgi/index.pl
index 67c5623..c4928b1 100644
--- a/cgi/index.pl
+++ b/cgi/index.pl
@@ -472,9 +472,9 @@ 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).html' => \&render_html;
+get '/:city/(:stop).json' => \&render_json;
+get '/:city/(:stop).png' => \&render_image;
get '/:city/:stop' => \&handle_request;
app->config(