This commit is contained in:
Marcel Pociot
2020-04-27 11:07:19 +02:00
parent 054e5b6a86
commit 0913e72f4f
3 changed files with 3 additions and 3 deletions

View File

@@ -84,7 +84,7 @@ class Factory
protected function addExposeRoutes()
{
$this->router->get('/__expose_control__', ControlMessageController::class);
$this->router->get('/expose/control', ControlMessageController::class, 'request.headers.get("x-expose-control") matches "/enabled/i"');
$this->router->addSymfonyRoute('tunnel',
new Route('/{__catchall__}', [