Add missing https:// for adminFqdn

This commit is contained in:
Johannes Zellner
2017-01-10 22:26:35 +01:00
parent 6ee76f8ee4
commit d674d72508

View File

@@ -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 = status.adminFqdn + '/nakeddomain.html';
window.location.href = 'https://' + status.adminFqdn + '/nakeddomain.html';
return;
}