fix(docs): cambiar ruta /docs → /documentacion para evitar conflicto con Swagger FastAPI

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-08-04 19:47:43 -05:00
co-authored by Claude Sonnet 4.6
parent b927fd7ec0
commit 15cf6b3675
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
from fastapi import APIRouter, Request, Depends
from app.auth import get_current_user
router = APIRouter(prefix="/docs", tags=["docs"])
router = APIRouter(prefix="/documentacion", tags=["docs"])
@router.get("")
+1 -1
View File
@@ -117,7 +117,7 @@
<i class="fas fa-user-clock w-5 mr-2"></i> Actividad
</a>
<hr class="my-3 border-gray-700">
<a href="/docs" class="flex items-center px-3 py-2.5 rounded-lg text-sm font-medium {% if cur == '/docs' %}bg-blue-600 text-white{% else %}text-gray-300 hover:bg-gray-700{% endif %}">
<a href="/documentacion" class="flex items-center px-3 py-2.5 rounded-lg text-sm font-medium {% if cur == '/documentacion' %}bg-blue-600 text-white{% else %}text-gray-300 hover:bg-gray-700{% endif %}">
<i class="fas fa-book w-5 mr-2"></i> Documentación
</a>
<a href="/auth/logout" class="flex items-center px-3 py-2.5 rounded-lg text-sm font-medium text-gray-300 hover:bg-gray-700">