The adminFqdn already has the my. part

This commit is contained in:
Johannes Zellner
2017-01-10 23:35:15 +01:00
parent f4b635a169
commit d68ae4866c

View File

@@ -60,7 +60,7 @@ app.controller('SetupDNSController', ['$scope', '$http', 'Client', function ($sc
Client.getStatus(function (error, status) {
if (!error && status.adminFqdn && status.configState.dns && status.configState.tls) {
window.location.href = 'https://my.' + status.adminFqdn + '/setup.html';
window.location.href = 'https://' + status.adminFqdn + '/setup.html';
}
setTimeout(waitForDnsSetup, 5000);