docs: fixes and changes based on latest updates (#7322)

* docs: changes based on DX changes

* remove fields no longer needed

* remove unnecessary parameters

* fixes to authenticate middleware usage

* add highlight to migrations config

* change configuration to http

* added missing remote link docs

* fix name in sidebar

* added notification module docs + updated file module docs

* add vale exceptions

* fix vale errors

* added docs on custom cli scripts
This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-05-22 13:37:48 +03:00
1 parent ff5d573887
commit 154673f3d8
55 files changed
+1674 -3791

No files matched your search

@@ -24,15 +24,17 @@ To send requests from the storefront to the Medusa application’s Store API Rou
## Configure CORS
The Medusa application’s API routes are guarded by a CORS middleware. Make sure to set the `store_cors` configuration of your Medusa application to the storefront’s URL.
The Medusa application’s API routes are guarded by a CORS middleware. Make sure to set the `storeCors` property of the `http` configuration in `medusa-config.js` to the storefront’s URL.
For example:
```js title="medusa-config.js"
module.exports = {
projectConfig: {
store_cors: "http://localhost:3000",
// ...
http: {
storeCors: "http://localhost:3000",
// ...
}
},
// ...
}