mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-09 11:53:47 +08:00
@@ -836,6 +836,16 @@
|
||||
return getSiteValue(site, 'proxy');
|
||||
};
|
||||
|
||||
$scope.hasProxy = function() {
|
||||
for (var site in $scope.data.sites) {
|
||||
if ($scope.isProxy(site)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
};
|
||||
|
||||
|
||||
|
||||
// ROUTING
|
||||
|
Reference in New Issue
Block a user