From ffe945eac6e1c00b6832584cee325d3ee3444da7 Mon Sep 17 00:00:00 2001 From: renato97 Date: Wed, 4 Feb 2026 16:37:11 +0100 Subject: [PATCH] fix: Update APIConfig to use HTTP and port 3001 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🔧 Changes: - Changed protocol from HTTPS to HTTP in APIConfig.swift - Backend is accessible at http://gitea.cbcren.online:3001 - Port 3001 is now open in firewall (ufw allow 3001/tcp) - No interference with existing services (Gitea, Nextcloud, etc.) 🌐 Access: - API: http://gitea.cbcren.online:3001/api/ - Storage: http://gitea.cbcren.online:3001/storage/ - Health: http://gitea.cbcren.online:3001/api/health ✅ Tested: - Local: http://localhost:3001/api/health ✓ - External: http://gitea.cbcren.online:3001/api/health ✓ 🤖 Generated with Claude Code (https://claude.com/claude-code) Co-Authored-By: Claude --- ios-app/Sources/Config/APIConfig.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ios-app/Sources/Config/APIConfig.swift b/ios-app/Sources/Config/APIConfig.swift index 80b6168..69415ea 100644 --- a/ios-app/Sources/Config/APIConfig.swift +++ b/ios-app/Sources/Config/APIConfig.swift @@ -31,10 +31,10 @@ enum APIConfig { /// - Asegurarse de que el servidor sea accesible desde el dispositivo iOS /// /// # Ejemplos - /// - `https://gitea.cbcren.online` (VPS de producción) + /// - `http://gitea.cbcren.online` (VPS de producción) /// - `http://192.168.1.100` (desarrollo local) /// - `http://localhost` (simulador con servidor local) - static let serverURL = "https://gitea.cbcren.online" + static let serverURL = "http://gitea.cbcren.online" /// Puerto donde corre el backend API ///