diff --git a/app/models/connect.php b/app/models/connect.php index 7c1ec58..bb6f4b7 100644 --- a/app/models/connect.php +++ b/app/models/connect.php @@ -8,7 +8,7 @@ mysqli_set_charset($connect,"utf8"); setlocale(LC_TIME,"es_ES"); - $url = 'http://'.$_SERVER['SERVER_NAME']; + $url = 'https://'.$_SERVER['SERVER_NAME']; $api = $url.'/api/'; $recursos = $url.'/recursos/'; $prueba = false;