summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-07-19 18:22:23 +0200
committerDaniel Friesel <derf@finalrewind.org>2016-07-19 18:22:23 +0200
commit1b3f57d3a1db8422ab8b548a1d59fa8a38c0c236 (patch)
tree0e55ec57497b9df1ee8282faa86b21155d67e398
parent74f6f591fb2933611e86798e2e629309c8e308eb (diff)
relaxed routes -> support stations with '.' in their name
-rw-r--r--index.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/index.pl b/index.pl
index 5225377..aaa0acf 100644
--- a/index.pl
+++ b/index.pl
@@ -908,9 +908,9 @@ post '/_geolocation' => sub {
app->defaults( layout => 'default' );
get '/' => \&handle_request;
-get '/:station' => \&handle_request;
-get '/:station/:via' => \&handle_request;
-get '/multi/:station' => \&handle_request;
+get '/#station' => \&handle_request;
+get '/#station/#via' => \&handle_request;
+get '/multi/#station' => \&handle_request;
app->config(
hypnotoad => {