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