diff options
author | Daniel Friesel <derf@finalrewind.org> | 2016-07-19 18:22:23 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2016-07-19 18:22:23 +0200 |
commit | 1b3f57d3a1db8422ab8b548a1d59fa8a38c0c236 (patch) | |
tree | 0e55ec57497b9df1ee8282faa86b21155d67e398 /index.pl | |
parent | 74f6f591fb2933611e86798e2e629309c8e308eb (diff) |
relaxed routes -> support stations with '.' in their name
Diffstat (limited to 'index.pl')
-rw-r--r-- | index.pl | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 => { |