Rename nakeddomain.html to noapp.html
This commit is contained in:
+1
-1
@@ -578,7 +578,7 @@ function addDnsRecords(callback) {
|
||||
records.push(webadminRecord);
|
||||
records.push(dkimRecord);
|
||||
} else {
|
||||
// for non-custom domains, we show a nakeddomain.html page
|
||||
// for non-custom domains, we show a noapp.html page
|
||||
var nakedDomainRecord = { subdomain: '', type: 'A', values: [ ip ] };
|
||||
|
||||
records.push(nakedDomainRecord);
|
||||
|
||||
@@ -149,7 +149,7 @@ angular.module('Application').controller('MainController', ['$scope', '$route',
|
||||
|
||||
// support local development with localhost check
|
||||
if (window.location.hostname !== status.adminFqdn && window.location.hostname !== 'localhost') {
|
||||
window.location.href = 'https://' + status.adminFqdn + '/nakeddomain.html';
|
||||
window.location.href = 'https://' + status.adminFqdn + '/noapp.html';
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user