rename setupdns to setup
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user