🔍 Debug del Endpoint /api/v1/auth/verify.php

Ruta del endpoint: /home/invitaciondigita/public_html/api/v1/auth/verify.php

✅ Archivo verify.php EXISTE

Primeras 20 líneas del archivo:

<?php
// Headers CORS
header('Content-Type: application/json; charset=utf-8');
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Methods: GET, POST, OPTIONS');
header('Access-Control-Allow-Headers: Authorization, Content-Type');

// Manejar preflight OPTIONS
if ($_SERVER['REQUEST_METHOD'] === 'OPTIONS') {
    http_response_code(200);
    exit();
}

try {
    // Incluir archivos con rutas absolutas
    $config_path = $_SERVER['DOCUMENT_ROOT'] . '/includes/config.php';
    $auth_path = $_SERVER['DOCUMENT_ROOT'] . '/includes/auth.php';
    
    if (!file_exists($config_path)) {
        throw new Exception('Archivo de configuración no encontrado');