move config cache/base_url to locations/widget_render_url

This commit is contained in:
Milan
2023-02-26 22:52:22 +01:00
parent 4521c3ed6c
commit 9c2cb45047
25 changed files with 48 additions and 51 deletions

View File

@@ -138,7 +138,7 @@ sub showComments {
for my $event (@$events) {
$event->{start} = time::date_time_format( $config, $event->{start}, $language );
$comment_count += $event->{comment_count} if defined $event->{comment_count};
$event->{cache_base_url} = $config->{cache}->{base_url};
$event->{widget_render_url} = $config->{locations}->{widget_render_url};
}
}
for my $param (%$comment) {