From: Raphaƫl Gertz Date: Sun, 29 Nov 2020 06:05:51 +0000 (+0100) Subject: Remove X-Robot: noindex header X-Git-Tag: 0.1.4~18 X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/commitdiff_plain/8f629d1ed9ffff69cce6c6b72d5b87a73f2ad230?ds=inline Remove X-Robot: noindex header Disable custom ErrorController --- 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%' ]