Created new middleware that redirects to short URLs with an extra path

This commit is contained in:
Alejandro Celaya
2021-07-15 16:54:54 +02:00
parent 265e8cdeaf
commit 32f7b4fbf6
5 changed files with 86 additions and 3 deletions

View File

@@ -68,6 +68,7 @@ return [
// This middleware is in front of tracking actions explicitly. Putting here for orphan visits tracking
IpAddress::class,
Core\ErrorHandler\NotFoundTypeResolverMiddleware::class,
Core\ShortUrl\Middleware\ExtraPathRedirectMiddleware::class,
Core\ErrorHandler\NotFoundTrackerMiddleware::class,
Core\ErrorHandler\NotFoundRedirectHandler::class,
Core\ErrorHandler\NotFoundTemplateHandler::class,