docs: update storefront development snippets for next.js 15 compatibility (#10843)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-01-07 09:02:18 +02:00
1 parent 47594192b7
commit 4c0546a8e9
24 files changed
+179 -252

No files matched your search

@@ -76,7 +76,7 @@ fetch(`http://localhost:9000/store/carts/${cartId}/customer`, {
method: "POST",
headers: {
"Content-Type": "application/json",
"x-publishable-api-key": process.env.NEXT_PUBLIC_MEDUSA_PUBLISHABLE_KEY || "temp",
},
})
.then((res) => res.json())