docs: improved digitalocean docs (#1889)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user