class ApiConfig { static String _baseUrl = 'https://family-safety.onrender.com/api'; static String get baseUrl => _baseUrl; static void setBaseUrl(String url) { _baseUrl = url.endsWith('/') ? url.substring(0, url.length - 1) : url; } // Auth endpoints static String get loginUrl => '$baseUrl/login'; static String get regUrl => '$baseUrl/reg'; // Geo endpoints static String get geoUrl => '$baseUrl/geo'; // Share endpoints static String get shareUrl => '$baseUrl/share'; static String get watchUrl => '$baseUrl/watch'; }