Merge branch 'allowHttpLocalhost'

This commit is contained in:
brantje 2016-10-12 18:02:04 +02:00
commit 8d01af481c
No known key found for this signature in database
GPG key ID: 5FF1D117F918687F

View file

@ -13,7 +13,7 @@
$scope.selectedVault = false;
$scope.http_warning_hidden = true;
if ($location.$$protocol === 'http') {
if ($location.$$protocol === 'http' && $location.$$host !== 'localhost' && $location.$host !== '127.0.0.1') {
$scope.using_http = true;
$scope.http_warning_hidden = false;