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