Fix(framework): http cors middleware order and options (#11765)

FIXES SUP-1101
also fixes https://github.com/medusajs/medusa/issues/11743

**What**
The store cors is currently applied after the ensure publishable API key middleware, in this pr the order is fixed and the cors will be applied first.
This commit is contained in:
Adrien de Peretti authored and GitHub committed 2025-03-07 10:45:00 +00:00
1 parent f00bb8efcf
commit 20cd59e622
8 files changed
+125 -20

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/framework": patch
---
Fix(framework): http cors middleware order and options