diff --git a/module/Core/config/event_dispatcher.config.php b/module/Core/config/event_dispatcher.config.php index 996669c3..aead1447 100644 --- a/module/Core/config/event_dispatcher.config.php +++ b/module/Core/config/event_dispatcher.config.php @@ -12,20 +12,22 @@ use Zend\ServiceManager\AbstractFactory\ConfigAbstractFactory; return [ 'events' => [ - 'regular' => [], + 'regular' => [ + EventDispatcher\VisitLocated::class => [ + EventDispatcher\NotifyVisitToWebHooks::class, + ], + ], 'async' => [ EventDispatcher\ShortUrlVisited::class => [ EventDispatcher\LocateShortUrlVisit::class, ], - EventDispatcher\VisitLocated::class => [ - EventDispatcher\NotifyVisitToWebHooks::class, - ], ], ], 'dependencies' => [ 'factories' => [ EventDispatcher\LocateShortUrlVisit::class => ConfigAbstractFactory::class, + EventDispatcher\NotifyVisitToWebHooks::class => ConfigAbstractFactory::class, ], ], @@ -43,6 +45,7 @@ return [ 'Logger_Shlink', 'config.url_shortener.visits_webhooks', 'config.url_shortener.domain', + Options\AppOptions::class, ], ],