From c3be041009a4eac44e1e1cb3701d228647e2c644 Mon Sep 17 00:00:00 2001 From: cubedro Date: Sat, 13 Jun 2015 06:16:29 +0300 Subject: [PATCH] updated trusted nodes --- lib/utils/config.js | 17 +++++++++-------- src/js/directives.js | 3 ++- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/lib/utils/config.js b/lib/utils/config.js index a4559bd..b9ac801 100644 --- a/lib/utils/config.js +++ b/lib/utils/config.js @@ -1,13 +1,14 @@ var trusted = [ - '54.94.239.50', '52.16.188.185', - '52.4.40.229', - '52.4.131.128', - '52.0.243.36', - '52.4.180.23', - '52.5.60.7', - '52.5.26.21', - '52.5.25.137', + '54.94.239.50', + '52.7.164.228', + '52.7.84.201', + '54.164.66.158', + '54.172.106.147', + '54.165.231.82', + '54.165.244.62', + '54.165.246.230', + '54.165.236.161', '::ffff:127.0.0.1', ]; diff --git a/src/js/directives.js b/src/js/directives.js index 2774f53..6ef7632 100644 --- a/src/js/directives.js +++ b/src/js/directives.js @@ -296,7 +296,8 @@ angular.module('netStatsApp.directives', []) scope: { data: '=' }, - link: function(scope, element, attrs) { + link: function(scope, element, attrs) + { var margin = {top: 0, right: 0, bottom: 0, left: 0}; var width = 280 - margin.left - margin.right, height = 63 - margin.top - margin.bottom;