diff --git a/package.json b/package.json index e230350..f50536e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rcpchgrowth-react", - "version": "6.2.0", + "version": "6.2.1", "private": false, "license": "MIT", "repository": { @@ -23,7 +23,7 @@ "semantic-ui-css": "2.5.0", "semantic-ui-react": "3.0.0-beta.2", "styled-components": "6.1.12", - "@rcpch/digital-growth-charts-react-component-library": "7.2.0" + "@rcpch/digital-growth-charts-react-component-library": "7.2.1" }, "devDependencies": { "@eslint/js": "^9.8.0", diff --git a/src/hooks/useRcpchApi.js b/src/hooks/useRcpchApi.js index 0a2fd4c..10e376c 100644 --- a/src/hooks/useRcpchApi.js +++ b/src/hooks/useRcpchApi.js @@ -11,8 +11,8 @@ const fetchFromApi = async (inputParameters, reference, mode) => { */ // For this to work in development use http://127.0.0.1:8000 rather than localhost // - const prod_url = import.meta.env.VITE_APP_GROWTH_API_BASEURL; - // const prod_url = "http://127.0.0.1:8000"; + // const prod_url = import.meta.env.VITE_APP_GROWTH_API_BASEURL; + const prod_url = "http://127.0.0.1:8000"; let url = `${prod_url}/${reference}/${mode}`; if (mode === "mid-parental-height") {