diff --git a/lib/core/api/api_endpoints.dart b/lib/core/api/api_endpoints.dart index 480583b..ac30036 100644 --- a/lib/core/api/api_endpoints.dart +++ b/lib/core/api/api_endpoints.dart @@ -2,12 +2,12 @@ class ApiEndpoints { // Change this to your desired backend base URL (local or UAT) // For local Django dev use: "http://127.0.0.1:8000/api" - // For UAT: "https://uat.eventifyplus.com/api" - static const String baseUrl = "https://em.eventifyplus.com/api"; + // em.eventifyplus.com DNS points to K8s with broken TLS — use backend.eventifyplus.com (EC2, valid cert) + static const String baseUrl = "https://backend.eventifyplus.com/api"; /// Base URL for media files (images, icons uploaded via Django admin). /// Relative paths like `/media/...` are resolved against this. - static const String mediaBaseUrl = "https://em.eventifyplus.com"; + static const String mediaBaseUrl = "https://backend.eventifyplus.com"; // Auth static const String register = "$baseUrl/user/register/";