diff --git a/api_candidatos/api/index.php b/api_candidatos/api/index.php index 5981ec5..4ea6fe9 100644 --- a/api_candidatos/api/index.php +++ b/api_candidatos/api/index.php @@ -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