diff options
author | Ashm Walia <ashmwalia@outlook.com> | 2021-02-05 16:30:22 -0800 |
---|---|---|
committer | Ashm Walia <ashmwalia@outlook.com> | 2021-02-05 16:30:22 -0800 |
commit | d190ce42efeae785e159199ccce7c67c53a91db4 (patch) | |
tree | 233e206f495b37df04643e4081098eb4968eac4c /src | |
parent | aa3b66fefef3c4aea29e13db1a5eb3cab0742348 (diff) |
Try fix
Diffstat (limited to 'src')
-rw-r--r-- | src/components/notifications/Notification.tsx | 5 | ||||
-rw-r--r-- | src/constants/api.ts | 2 |
2 files changed, 2 insertions, 5 deletions
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<NotificationProps> = (props) => { notification_type === 'MOM_3+' || notification_type === 'MOM_FRIEND') && notification_object && ( - <Image - style={styles.moment} - source={{uri: momentURI, cache: 'reload'}} - /> + <Image style={styles.moment} source={{uri: momentURI}} /> )} </TouchableWithoutFeedback> ); 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/'; |