Slight improvements on RoadRunner config

This commit is contained in:
Alejandro Celaya
2022-08-26 17:58:25 +02:00
parent e9ec32b3c3
commit 846802c003
8 changed files with 24 additions and 11 deletions

View File

@@ -72,6 +72,6 @@ class VisitsTracker implements VisitsTrackerInterface
$this->em->persist($visit);
$this->em->flush();
$this->eventDispatcher->dispatch(new UrlVisited($visit->getId(), $visitor->remoteAddress));
$this->eventDispatcher->dispatch(UrlVisited::withOriginalIpAddress($visit->getId(), $visitor->remoteAddress));
}
}