Compare commits

..

No commits in common. "88ffad3841d87a9a133f8954a6455125741a284e" and "8bc9cb1006f5c98d9c1e07ac5ef488604d902580" have entirely different histories.

2 changed files with 2 additions and 13 deletions

View File

@ -1,9 +1,4 @@
# Changelog
## [0.9.2] - 2025-03-12
### Fixed
- Added mercure service in docker compose file for deployments.
## [0.9.1] - 2025-03-12
### 🐛 Fixed
- Corrección en la cancelacion de transmisiones p2p.
@ -59,4 +54,4 @@
- **Added**: Secciones con nuevas características.
- **Fixed**: Corrección de errores y bugs.
- **Changed**: Modificaciones o mejoras en funcionalidades existentes.
- **Removed**: Funcionalidades o dependencias eliminadas.
- **Removed**: Funcionalidades o dependencias eliminadas.

View File

@ -10,7 +10,6 @@ use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpKernel\Event\ViewEvent;
use Symfony\Component\HttpKernel\KernelEvents;
use Psr\Log\LoggerInterface;
use Symfony\Component\HttpKernel\KernelInterface;
use Symfony\Component\Mercure\HubInterface;
use Symfony\Component\Mercure\Update;
@ -20,8 +19,7 @@ class MercureSubscriber implements EventSubscriberInterface
public function __construct(
LoggerInterface $logger,
private readonly HubInterface $hub,
private readonly KernelInterface $kernel
private readonly HubInterface $hub
)
{
$this->logger = $logger;
@ -36,10 +34,6 @@ class MercureSubscriber implements EventSubscriberInterface
public function onKernelView(ViewEvent $event): void
{
if ('test' === $this->kernel->getEnvironment()) {
return;
}
$request = $event->getRequest();
$method = $request->getMethod();