From b9efe1866961ac413528e166e54da35880c0d29d Mon Sep 17 00:00:00 2001 From: Sicherhaven Date: Sun, 19 Apr 2026 21:42:39 +0530 Subject: [PATCH] fix: switch baseUrl to backend.eventifyplus.com (broken TLS on em.eventifyplus.com) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit em.eventifyplus.com / uat.eventifyplus.com DNS points to K8s with broken TLS cert. backend.eventifyplus.com → EC2 174.129.72.160 with valid Let's Encrypt cert. This fixes the root cause of "Unable to connect" on all API calls. Co-Authored-By: Claude Sonnet 4.6 --- lib/core/api/api_endpoints.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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/";