Skip to content

Commit 918f399

Browse files
committed
Updated in FeedGeneratorFactory to use right key
1 parent 30322ad commit 918f399

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

config/autoload/local.php.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ $databases = [
2222
],
2323
];
2424

25-
$app = [
25+
$app = [
2626
'baseUrl' => $baseUrl,
2727
'name' => 'Dotkernel Light | PSR-15 compliant application',
2828
'meta' => [

src/App/src/Factory/FeedGeneratorFactory.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ public function __invoke(ContainerInterface $container): FeedGenerator
2323
return new FeedGenerator(
2424
$postRepository,
2525
$config['feed']['path'],
26-
rtrim($config['application']['url'] ?? '', '/') . '/',
27-
$config['app']['meta']['title'] ?? '',
28-
$config['app']['meta']['description'] ?? '',
29-
$config['app']['meta']['image'] ?? '',
26+
rtrim($config['application']['baseUrl'] ?? '', '/') . '/',
27+
$config['application']['meta']['title'] ?? '',
28+
$config['application']['meta']['description'] ?? '',
29+
$config['application']['meta']['image'] ?? '',
3030
);
3131
}
3232
}

0 commit comments

Comments
 (0)