summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2023-01-08 09:59:18 +0100
committerDaniel Friesel <derf@finalrewind.org>2023-01-08 09:59:18 +0100
commit113caf705dbb8461ca903a59e92e8377cb96127f (patch)
treee70c70dc700cb0124a05d3d66a7f08ae935a7558
parent6c9662621486a506c4351fc49deba1b5989cca1d (diff)
base_url_for: fix config key (it's "base_url")1.29.8
-rwxr-xr-xlib/Travelynx.pm2
1 files changed, 1 insertions, 1 deletions
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;
}