docs: improved digitalocean docs (#1889)

This commit is contained in:
Shahed Nasser
2022-07-21 15:22:29 +03:00
committed by GitHub
parent ef84b104e6
commit b2602fa9ed
4 changed files with 261 additions and 143 deletions

View File

@@ -256,6 +256,12 @@ ADMIN_CORS=<YOUR_ADMIN_CORS>
Where `<YOUR_ADMIN_CORS>` is the URL of your admin dashboard.
:::tip
Make sure that the URL is without a backslash at the end. For example, you should use `http://localhost:7000` instead of `http://localhost:7000/`.
:::
## Storefront CORS
Medusa uses CORS to only allow specific origins to access the server. To make sure your Storefront dashboard can access the Medusa server, set this configuration:
@@ -279,6 +285,12 @@ STORE_CORS=<YOUR_STORE_CORS>
Where `<YOUR_STORE_CORS>` is the URL of your storefront.
:::tip
Make sure that the URL is without a backslash at the end. For example, you should use `http://localhost:8000` instead of `http://localhost:8000/`.
:::
## Plugins
On your Medusa server, you can use Plugins to add custom features or integrate third-party services. For example, installing a plugin to use Stripe as a payment provider.