From 13efd174e72a84bf6e44a5fc76dcac94eb609532 Mon Sep 17 00:00:00 2001 From: MTG2000 Date: Sun, 5 Jun 2022 21:12:41 +0300 Subject: [PATCH] restore apilink --- src/utils/consts/consts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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