rename setup to activation

This commit is contained in:
Girish Ramakrishnan
2024-04-26 20:26:57 +02:00
parent 126587ba82
commit 051bcb7819
5 changed files with 10 additions and 10 deletions
@@ -77,9 +77,9 @@ app.controller('SetupController', ['$scope', 'Client', function ($scope, Client)
return;
}
// if we are here from https://ip/setup.html ,go to https://admin/setup.html
// if we are here from https://ip/activation.html ,go to https://admin/activation.html
if (status.adminFqdn && status.adminFqdn !== window.location.hostname) {
window.location.href = 'https://' + status.adminFqdn + '/setup.html';
window.location.href = 'https://' + status.adminFqdn + '/activation.html';
return true;
}
+1 -1
View File
@@ -751,7 +751,7 @@ app.controller('MainController', ['$scope', '$route', '$timeout', '$location', '
if (status.restore.active || status.restore.errorMessage) { // show the error message in restore page
window.location.href = '/restore.html' + window.location.search;
} else if (status.adminFqdn) {
window.location.href = 'https://' + status.adminFqdn + '/setup.html' + (window.location.search);
window.location.href = 'https://' + status.adminFqdn + '/activation.html' + (window.location.search);
} else {
window.location.href = '/setupdns.html' + window.location.search;
}
+1 -1
View File
@@ -272,7 +272,7 @@ app.controller('SetupDNSController', ['$scope', '$http', '$timeout', 'Client', f
$scope.state = 'initialized';
$scope.dnsCredentials.busy = false;
} else { // proceed to activation
window.location.href = 'https://' + status.adminFqdn + '/setup.html' + (window.location.search);
window.location.href = 'https://' + status.adminFqdn + '/activation.html' + (window.location.search);
}
return;
}