From 113caf705dbb8461ca903a59e92e8377cb96127f Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 8 Jan 2023 09:59:18 +0100 Subject: base_url_for: fix config key (it's "base_url") --- lib/Travelynx.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index a26fc11..d9b4182 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -242,7 +242,7 @@ sub startup { base_url_for => sub { my ( $self, $path ) = @_; if ( ( my $url = $self->url_for($path) )->base ne q{} - or not $self->app->config->{base_url_for} ) + or not $self->app->config->{base_url} ) { return $url; } -- cgit v1.2.3