diff --git a/public/env_config.js b/public/env_config.js index dc3b9711..ef6a4452 100644 --- a/public/env_config.js +++ b/public/env_config.js @@ -8,6 +8,5 @@ Window.ENV_VARS = { REACT_APP_BASEURL: "", REACT_APP_BASEURL_without_slash: "", REACT_APP_BASEURL_without_slash_view_data: "", - REACT_APP_BASEURL_FARMER_REGISTRY: "", - REACT_APP_BASEURL_DA_REGISTRY: "", + REACT_APP_BASEURL_DAAS_REGISTRY: "" }; diff --git a/src/features/default/src/Constants/UrlConstants.js b/src/features/default/src/Constants/UrlConstants.js index 7baf7940..469893ac 100644 --- a/src/features/default/src/Constants/UrlConstants.js +++ b/src/features/default/src/Constants/UrlConstants.js @@ -5,8 +5,8 @@ const UrlConstant = { base_url: Window?.ENV_VARS?.REACT_APP_BASEURL || process.env.REACT_APP_BASEURL, - base_url_farmer_registry: Window?.ENV_VARS?.REACT_APP_BASEURL_FARMER_REGISTRY ||process.env.REACT_APP_BASEURL_FARMER_REGISTRY, - base_url_da_registry : Window?.ENV_VARS?.REACT_APP_BASEURL_DA_REGISTRY ||process.env.REACT_APP_BASEURL_DA_REGISTRY, + base_url_farmer_registry: Window?.ENV_VARS?.REACT_APP_BASEURL_DAAS_REGISTRY ||process.env.REACT_APP_BASEURL_DAAS_REGISTRY, + base_url_da_registry : Window?.ENV_VARS?.REACT_APP_BASEURL_DAAS_REGISTRY ||process.env.REACT_APP_BASEURL_DAAS_REGISTRY, base_url_without_slash: Window?.ENV_VARS?.REACT_APP_BASEURL_without_slash || process.env.REACT_APP_BASEURL_without_slash,