rename setupdns to setup

This commit is contained in:
Girish Ramakrishnan
2024-04-26 20:32:23 +02:00
parent 051bcb7819
commit 834a7d0f55
6 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ app.controller('SetupController', ['$scope', 'Client', function ($scope, Client)
// if we don't have a domain yet, first go to domain setup
if (!status.adminFqdn) {
window.location.href = '/setupdns.html';
window.location.href = '/setup.html';
return true;
}
+2 -2
View File
@@ -753,7 +753,7 @@ app.controller('MainController', ['$scope', '$route', '$timeout', '$location', '
} else if (status.adminFqdn) {
window.location.href = 'https://' + status.adminFqdn + '/activation.html' + (window.location.search);
} else {
window.location.href = '/setupdns.html' + window.location.search;
window.location.href = '/setup.html' + window.location.search;
}
return true;
}
@@ -761,7 +761,7 @@ app.controller('MainController', ['$scope', '$route', '$timeout', '$location', '
// support local development with localhost check
if (window.location.hostname !== status.adminFqdn && window.location.hostname !== 'localhost' && !window.location.hostname.startsWith('192.')) {
// user is accessing by IP or by the old admin location (pre-migration)
window.location.href = '/setupdns.html' + window.location.search;
window.location.href = '/setup.html' + window.location.search;
return true;
}