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:
co-authored by
Claude Sonnet 4.6
parent
b927fd7ec0
commit
15cf6b3675
+1
-1
@@ -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("")
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user