From 2081120fdfb3b97904026e57580cbd3b982f636a Mon Sep 17 00:00:00 2001 From: Damien Retzinger Date: Wed, 21 Aug 2024 10:23:37 -0400 Subject: [PATCH] docs: add X-Magento-Cache-Id to PWA config --- docs/stories/examples/pwa-configuration.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/stories/examples/pwa-configuration.php b/docs/stories/examples/pwa-configuration.php index cab5233..b329cfe 100644 --- a/docs/stories/examples/pwa-configuration.php +++ b/docs/stories/examples/pwa-configuration.php @@ -8,6 +8,7 @@ 'cors_max_age' => 86400, 'cors_allow_credentials' => 1, 'cors_allowed_methods' => 'POST, OPTIONS, GET', + 'cors_expose_headers' => 'X-Magento-Cache-Id', 'cors_allowed_headers' => 'Content-Currency, Store, X-Magento-Cache-Id, X-Captcha, Content-Type, Authorization, DNT, TE', // Angular @@ -24,4 +25,4 @@ ] ] ] -]; +]; \ No newline at end of file