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:
2026-02-04 16:37:11 +01:00
parent 83e25e3bd6
commit ffe945eac6

View File

@@ -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
///