diff --git a/lib/core/config/env.dart b/lib/core/config/env.dart index 05a5256..5900fc3 100644 --- a/lib/core/config/env.dart +++ b/lib/core/config/env.dart @@ -2,8 +2,12 @@ import 'package:flutter/foundation.dart'; class Env { Env._(); - + static const bool isProd = false; + static String get baseUrl { + if (isProd) { + return 'https://gdg-appointment-booking-system.onrender.com/api'; + } if (kIsWeb) { return 'http://localhost:3000'; }