Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 333 Bytes

2021-05-18-remove-cors-issue-on-storefront-hot-proxy.md

File metadata and controls

10 lines (9 loc) · 333 Bytes
Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Remove CORS issue on storefront hot proxy
issue: NEXT-10750
author: Raoul Kramer
author_email: [email protected] 
author_github: @djpogo
---

Storefront

  • Added another regex to rewrite hot proxied responseBody to circumstate CORS issue @see src/Storefront/Resources/app/storefront/build/proxy-server-hot/index.js