docs: wording and structural changes to cloud (#12820)

* docs: wording and structural changes to cloud

* Fix vale error

* Fix faq title

* Fix heading levels

* Small change to previews
This commit is contained in:
Shahed Nasser
2025-06-25 12:20:02 +03:00
committed by GitHub
parent 820a936b98
commit 91f6cfad5d
24 changed files with 713 additions and 663 deletions
@@ -25,7 +25,7 @@ To allow your production storefront to access your Medusa application on Cloud,
- `STORE_CORS`: The URLs of storefronts that can access your Medusa server's `/store` API routes. This is a comma-separated list of URLs that is typically used as the value of the [http.storeCors](!docs!/learn/configurations/medusa-config#httpstorecors) configuration.
- `AUTH_CORS`: The URLs of the clients (storefront and admin) that can access the Medusa server's `/auth` API routes. This is a comma-separated list of URLs that is typically used as the value of the [http.authCors](!docs!/learn/configurations/medusa-config#httpauthcors) configuration.
For example, if your storefront is hosted at `https://my-storefront.com`, you can [set the following environment variables in your production environment](../environments/page.mdx#add-environment-variables):
For example, if your storefront is hosted at `https://my-storefront.com`, you can [set the following environment variables in your production environment](../environments/environment-variables/page.mdx#add-environment-variables):
```shell
STORE_CORS=https://my-storefront.com
@@ -39,7 +39,7 @@ STORE_CORS=https://my-storefront.com,https://another-storefront.com
AUTH_CORS=https://my-storefront.com,https://another-storefront.com
```
After adding these environment variables, [redeploy the environment](../environments/page.mdx#redeploy-environment) to apply the changes.
After adding these environment variables, [redeploy the environment](../environments/long-lived/page.mdx#redeploy-environment) to apply the changes.
---