This commit is contained in:
christian.julian 2025-06-15 15:14:19 -06:00
parent 33538c22d7
commit cd9dc3c83e
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_candidatos';
$basePath = '/api';
$normalizedPath = str_replace($basePath, '', $path);
// Enrutamiento