Added validation to not found redirects for domain

This commit is contained in:
Alejandro Celaya
2021-08-03 14:08:36 +02:00
parent 20f70b8b07
commit 9f25979b4c
9 changed files with 106 additions and 25 deletions

View File

@@ -92,7 +92,7 @@ class DomainRedirectsCommand extends Command
};
};
$this->domainService->configureNotFoundRedirects($domainAuthority, new NotFoundRedirects(
$this->domainService->configureNotFoundRedirects($domainAuthority, NotFoundRedirects::withRedirects(
$ask(
'URL to redirect to when a user hits this domain\'s base URL',
$domain?->baseUrlRedirect(),