Added protocol to update redirect so the script does not think you are talking about a relative url

This commit is contained in:
xevidos 2019-05-29 13:13:29 -04:00
parent 6905a2d716
commit 034538f399

View File

@ -883,7 +883,7 @@ if( isset( $_GET["action"] ) && $_GET["action"] !== '' ) {
setTimeout( function() {
window.location.href = codiad.update.base_url;
window.location.href = `${location.protocol}//${codiad.update.base_url}`;
}, 5000);
return;
}