From b256a9dcdefdc1bb0fed7141be1320acade91cb9 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Tue, 13 Dec 2022 10:05:54 +0200 Subject: [PATCH] Update deploying-on-netlify.md --- docs/content/deployments/admin/deploying-on-netlify.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/content/deployments/admin/deploying-on-netlify.md b/docs/content/deployments/admin/deploying-on-netlify.md index 0faa29d34b979..50dfddd24806c 100644 --- a/docs/content/deployments/admin/deploying-on-netlify.md +++ b/docs/content/deployments/admin/deploying-on-netlify.md @@ -229,13 +229,13 @@ Run the following command to add the environment variable: netlify env:set MEDUSA_BACKEND_URL "" ``` -Where `` is the URL of your Medusa server. Note that the usage of `GATSBY` in the environment variable name doesn't mean you can only use Gatsby frontend starters. For backwards compatibility, the following environment variable names are all valid and will all result with your Medusa Admin app communicating with the provided value as your Medusa server. Use any one of: +Where `` is the URL of your Medusa server. -1. `GATSBY_MEDUSA_BACKEND_URL` -2. `GATSBY_STORE_URL` -3. `MEDUSA_BACKEND_URL` +:::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`. -If you define multiple environment variables with the above names, precedence will be given to `MEDUSA_BACKEND_URL`, and the others will be ignored (even if `MEDUSA_BACKEND_URL` is an invalid URL). +::: #### Check deployment status