This commit is contained in:
christian.julian 2025-06-15 15:19:38 -06:00
parent cd9dc3c83e
commit 4c3f33fc47
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ $path = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
$method = $_SERVER['REQUEST_METHOD'];
// Quitar el prefijo '/api' para trabajar con rutas limpias
$basePath = '/api';
$basePath = '/api_candidatos';
$normalizedPath = str_replace($basePath, '', $path);
// Enrutamiento