Add option to allow all URLs to be crawlable via robots.txt

This commit is contained in:
Alejandro Celaya
2024-04-21 17:09:20 +02:00
parent a89b53af4f
commit 163244f40f
8 changed files with 72 additions and 14 deletions

View File

@@ -189,7 +189,7 @@ return [
'Logger_Shlink',
Options\QrCodeOptions::class,
],
Action\RobotsAction::class => [Crawling\CrawlingHelper::class],
Action\RobotsAction::class => [Crawling\CrawlingHelper::class, 'config.robots.allow-all-short-urls'],
ShortUrl\Resolver\PersistenceShortUrlRelationResolver::class => [
'em',