diff --git a/docs/content/deployments/admin/deploying-on-netlify.md b/docs/content/deployments/admin/deploying-on-netlify.md index 2953857ffe..2ce0ac4e29 100644 --- a/docs/content/deployments/admin/deploying-on-netlify.md +++ b/docs/content/deployments/admin/deploying-on-netlify.md @@ -246,11 +246,17 @@ If you haven’t deployed your Medusa server yet, you can leave the value blank Run the following command to add the environment variable: ```bash -netlify env:set GATSBY_MEDUSA_BACKEND_URL "" +netlify env:set MEDUSA_BACKEND_URL "" ``` Where `` is the URL of your Medusa server. +:::note + +In previous versions of the admin, the environment variable name was `GATSBY_MEDUSA_BACKEND_URL` or `GATSBY_STORE_URL` instead. The admin remains backwards compatible, so if you've used this an older version you can keep the same environment variables. However, it's highly recommended you change it to `MEDUSA_BACKEND_URL`. + +::: + #### Check deployment status You can check the deployment status of your website by running the following command: