From 1b3f57d3a1db8422ab8b548a1d59fa8a38c0c236 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 19 Jul 2016 18:22:23 +0200 Subject: relaxed routes -> support stations with '.' in their name --- index.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'index.pl') 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 => { -- cgit v1.2.3