diff --git a/src/utils/consts/consts.ts b/src/utils/consts/consts.ts index 3c1358a..558a277 100644 --- a/src/utils/consts/consts.ts +++ b/src/utils/consts/consts.ts @@ -1,5 +1,5 @@ const CONSTS = { - apiEndpoint: 'http://localhost:8888/.netlify/functions' + apiEndpoint: process.env.REACT_APP_API_END_POINT ?? '/.netlify/functions' } export default CONSTS; \ No newline at end of file