main: Updated refresh script
This commit is contained in:
parent
6ea4e72e8a
commit
188334c850
@ -1,10 +1,12 @@
|
|||||||
// Refresh page without status arg
|
// Wait for 10 seconds
|
||||||
|
|
||||||
// Wait 10 seconds
|
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
// Refresh page
|
// Get the 'domain' parameter from the current URL
|
||||||
// Get domain from param
|
var urlParams = new URLSearchParams(window.location.search);
|
||||||
var domain = urlParams.get('domain');
|
var domain = urlParams.get('domain');
|
||||||
|
|
||||||
window.location = "https://hnshosting.au/success?domain=" + domain;
|
// Construct the new URL with the 'domain' parameter
|
||||||
|
var newURL = "https://hnshosting.au/info?domain=" + domain;
|
||||||
|
|
||||||
|
// Redirect to the new URL
|
||||||
|
window.location.href = newURL;
|
||||||
}, 10000);
|
}, 10000);
|
Loading…
Reference in New Issue
Block a user