mirror of
https://github.com/derf/travelynx
synced 2024-12-02 17:29:11 +00:00
base_url_for: fix config key (it's "base_url")
This commit is contained in:
parent
6c96626214
commit
113caf705d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue