From d190ce42efeae785e159199ccce7c67c53a91db4 Mon Sep 17 00:00:00 2001 From: Ashm Walia Date: Fri, 5 Feb 2021 16:30:22 -0800 Subject: Try fix --- src/components/notifications/Notification.tsx | 5 +---- src/constants/api.ts | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/components/notifications/Notification.tsx b/src/components/notifications/Notification.tsx index 2e3eaacc..ea121eb1 100644 --- a/src/components/notifications/Notification.tsx +++ b/src/components/notifications/Notification.tsx @@ -233,10 +233,7 @@ const Notification: React.FC = (props) => { notification_type === 'MOM_3+' || notification_type === 'MOM_FRIEND') && notification_object && ( - + )} ); diff --git a/src/constants/api.ts b/src/constants/api.ts index 33b68f65..32631be0 100644 --- a/src/constants/api.ts +++ b/src/constants/api.ts @@ -1,5 +1,5 @@ // const BASE_URL: string = 'http://3.22.188.127/'; // prod server -const BASE_URL: string = 'http://app-prod.tagg.id/'; // local server +const BASE_URL: string = 'http://127.0.0.1:8000/'; // local server const API_URL: string = BASE_URL + 'api/'; export const LOGIN_ENDPOINT: string = API_URL + 'login/'; -- cgit v1.2.3-70-g09d2