up
This commit is contained in:
@@ -6,6 +6,9 @@
|
||||
|
||||
require_once '../config/config.php';
|
||||
|
||||
// Requiere autenticación para evitar acceso público
|
||||
requireAuthentication();
|
||||
|
||||
header('Content-Type: application/json; charset=utf-8');
|
||||
header('Access-Control-Allow-Origin: *');
|
||||
header('Access-Control-Allow-Methods: GET');
|
||||
|
||||
Reference in New Issue
Block a user