up
This commit is contained in:
@@ -86,7 +86,7 @@ try {
|
||||
// Construir URL pública
|
||||
$protocol = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? 'https' : 'http';
|
||||
$host = $_SERVER['HTTP_HOST'];
|
||||
$publicUrl = $protocol . '://' . $host . '/whatsapp/uploads/' . $uniqueName;
|
||||
$publicUrl = $protocol . '://' . $host . '/uploads/' . $uniqueName;
|
||||
|
||||
// Determinar tipo de medio
|
||||
$mediaType = 'document';
|
||||
|
||||
Reference in New Issue
Block a user