ciao!
su un server ho questa funzione che lancio a caricamento di pagina:
codice:
const remoteUrl = 'http://SERVER_DI_CASA/index.php';
$(function () {
$.getJSON(remoteUrl, function (data) {
$("#loading_modal").addClass("is-active");
$.get('tbl_template.html', function (template, textStatus, jqXhr) {
var html = Mustache.render(template, data);
$('#tbl').html(html);
});
}).done(function (json) {
$("#loading_modal").removeClass("is-active");
}).fail(function (jqxhr, textStatus, error) {
$("#loading_modal").removeClass("is-active");
alert(error);
});
});
da qualche giorno non funziona più, perchè ottengo questo errore:
codice:
Bloccato il caricamento di contenuto misto attivo (mixed active content)
ho capito che dovrei usare HTTPS, ma sul serverino di casa non ho questa possibilità!
come si fa in questi casi???