fix: Update APIConfig to use HTTP and port 3001
🔧 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 <noreply@anthropic.com>
This commit is contained in:
@@ -31,10 +31,10 @@ enum APIConfig {
|
|||||||
/// - Asegurarse de que el servidor sea accesible desde el dispositivo iOS
|
/// - Asegurarse de que el servidor sea accesible desde el dispositivo iOS
|
||||||
///
|
///
|
||||||
/// # Ejemplos
|
/// # 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://192.168.1.100` (desarrollo local)
|
||||||
/// - `http://localhost` (simulador con servidor 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
|
/// Puerto donde corre el backend API
|
||||||
///
|
///
|
||||||
|
|||||||
Reference in New Issue
Block a user