/// URL base del API de base-admin-web.
///
/// Configúrala al ejecutar o compilar si necesitas otra IP:
/// `flutter run --dart-define=API_BASE_URL=http://otra-ip:8080`
class ApiConfig {
  ApiConfig._();

  static const String baseUrl = String.fromEnvironment(
    'API_BASE_URL',
    defaultValue: 'http://10.99.51.6:8080',
  );

  static String get loginUrl => '$baseUrl/api/auth/login';

  static String get scanUrl => '$baseUrl/api/pass-codes/scan';
}