mirror of
https://github.com/nextcloud/passman.git
synced 2025-10-06 03:34:54 +08:00
Merge branch 'allowHttpLocalhost'
This commit is contained in:
commit
8d01af481c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue