From 0b3e31083632bfee39414dc29907bd7ef1627350 Mon Sep 17 00:00:00 2001 From: Shanaaz Ahamed <77115237+imshaaz21@users.noreply.github.com> Date: Wed, 1 May 2024 14:15:10 +0530 Subject: [PATCH] ngrok url changed --- lib/screens/emotional_detector_screen.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/screens/emotional_detector_screen.dart b/lib/screens/emotional_detector_screen.dart index e208831..1738b60 100644 --- a/lib/screens/emotional_detector_screen.dart +++ b/lib/screens/emotional_detector_screen.dart @@ -30,7 +30,7 @@ class _EmotionalDetectorScreenState extends State { Future> _fetchData() async { // Replace 'YOUR_API_ENDPOINT' with your actual endpoint final response = await http.get(Uri.parse( - 'https://ac44-2402-4000-b138-4190-885a-88c2-bad6-9f92.ngrok-free.app/questionnaire')); + 'https://c637-2402-4000-b138-4190-8d10-a07-fd79-3d1.ngrok-free.app/questionnaire')); if (response.statusCode == 200) { final jsonData = jsonDecode(response.body) as List; @@ -121,7 +121,7 @@ class _EmotionalDetectorScreenState extends State { try { final response = await http.post( Uri.parse( - 'https://ac44-2402-4000-b138-4190-885a-88c2-bad6-9f92.ngrok-free.app/questionnaire'), + 'https://c637-2402-4000-b138-4190-8d10-a07-fd79-3d1.ngrok-free.app/questionnaire'), headers: { 'Content-Type': 'application/json; charset=UTF-8', },