diff options
author | Ashm Walia <ashmwalia@outlook.com> | 2021-02-05 16:27:44 -0800 |
---|---|---|
committer | Ashm Walia <ashmwalia@outlook.com> | 2021-02-05 16:27:44 -0800 |
commit | aa3b66fefef3c4aea29e13db1a5eb3cab0742348 (patch) | |
tree | 456b664d649221d6bb8c74a73bdf9b10b4bf4e09 | |
parent | 561f21c1df9a3484d65722e50f2fac7b92d09148 (diff) |
Try fix
-rw-r--r-- | src/components/notifications/Notification.tsx | 2 | ||||
-rw-r--r-- | src/constants/api.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/components/notifications/Notification.tsx b/src/components/notifications/Notification.tsx index 86c5036b..2e3eaacc 100644 --- a/src/components/notifications/Notification.tsx +++ b/src/components/notifications/Notification.tsx @@ -209,7 +209,7 @@ const Notification: React.FC<NotificationProps> = (props) => { style={styles.avatar} source={ avatar - ? {uri: avatar} + ? {uri: avatar, cache: 'reload'} : require('../../assets/images/avatar-placeholder.png') } /> diff --git a/src/constants/api.ts b/src/constants/api.ts index 32631be0..33b68f65 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://127.0.0.1:8000/'; // local server +const BASE_URL: string = 'http://app-prod.tagg.id/'; // local server const API_URL: string = BASE_URL + 'api/'; export const LOGIN_ENDPOINT: string = API_URL + 'login/'; |