mirror of
https://github.com/xevidos/codiad.git
synced 2024-11-10 21:26:35 +01:00
Added protocol to update redirect so the script does not think you are talking about a relative url
This commit is contained in:
parent
6905a2d716
commit
034538f399
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user