From 8f629d1ed9ffff69cce6c6b72d5b87a73f2ad230 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Sun, 29 Nov 2020 07:05:51 +0100 Subject: [PATCH 1/1] Remove X-Robot: noindex header Disable custom ErrorController --- Resources/config/packages/rapsys_air.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Resources/config/packages/rapsys_air.yaml b/Resources/config/packages/rapsys_air.yaml index 5e17d57..a7fe3b8 100644 --- a/Resources/config/packages/rapsys_air.yaml +++ b/Resources/config/packages/rapsys_air.yaml @@ -186,6 +186,7 @@ framework: handler_id: ~ cookie_secure: 'auto' cookie_samesite: 'lax' + disallow_search_engine_index: false #framework: # error_controller: Rapsys\AirBundle\Controller\ErrorController::show # @@ -239,9 +240,9 @@ services: arguments: [ '@service_container', '@router', '@rapsys.slugger', '@translator' ] tags: [ 'controller.service_arguments' ] #Register error controller - Rapsys\AirBundle\Controller\ErrorController: - arguments: [ '@service_container', '@router', '@rapsys.slugger', '@translator' ] - tags: [ 'controller.service_arguments' ] +# Rapsys\AirBundle\Controller\ErrorController: +# arguments: [ '@service_container', '@router', '@rapsys.slugger', '@translator' ] +# tags: [ 'controller.service_arguments' ] #Register locale event subscriber Rapsys\AirBundle\EventSubscriber\LocaleSubscriber: arguments: [ '@router', '%rapsys_air.locales%' ] -- 2.41.1