fix
This commit is contained in:
parent
cd9dc3c83e
commit
4c3f33fc47
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue