Skip to content

Latest commit

 

History

History
14 lines (14 loc) · 1.05 KB

2020-09-17-maintenance-forward.md

File metadata and controls

14 lines (14 loc) · 1.05 KB
Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 21
---
title:              Fix maintenance page
issue:              NEXT-9121
author:             Sebastian König
author_email:       s.koenig@tinect.de
author_github:      @tinect
---

Storefront

  • Added auto reload to Storefront/storefront/page/error/error-maintenance.html.twig with new block error_maintenance_script_reload
  • Added new method shouldRedirectToShop to Shopware\Storefront\Framework\Routing\MaintenanceModeResolver
  • Added service Shopware\Storefront\Framework\Routing\MaintenanceModeResolver to Shopware\Storefront\Controller\MaintenanceController\MaintenanceController
  • Added status code HTTP_SERVICE_UNAVAILABLE to result for active maintenance mode in Shopware\Storefront\Controller\MaintenanceController\MaintenanceController
  • Added header Retry-After to result for active maintenance mode in Shopware\Storefront\Controller\MaintenanceController\MaintenanceController
  • Added status code HTTP_TEMPORARY_REDIRECT to redirect result in method maintenanceResolver in Shopware\Storefront\Framework\Routing\StorefrontSubscriber