From 91d473c66b84991a6c3edd79798f793a12181584 Mon Sep 17 00:00:00 2001 From: Lelisa Hailu <189599041+lelisa21@users.noreply.github.com> Date: Tue, 7 Apr 2026 06:51:09 +0300 Subject: [PATCH] Add production base URL for API --- lib/core/config/env.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/core/config/env.dart b/lib/core/config/env.dart index 05a5256..247befd 100644 --- a/lib/core/config/env.dart +++ b/lib/core/config/env.dart @@ -4,6 +4,9 @@ class Env { Env._(); static String get baseUrl { + if (isProd) { + return 'https://gdg-appointment-booking-system.onrender.com/api'; + } if (kIsWeb) { return 'http://localhost:3000'; }