diff options
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/'; |