base_url_for: fix config key (it's "base_url")

This commit is contained in:
Daniel Friesel 2023-01-08 09:59:18 +01:00
parent 6c96626214
commit 113caf705d
No known key found for this signature in database
GPG key ID: 100D5BFB5166E005

View file

@ -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;
}