From 154238ef7415b7a968ac4352ac3259916ac2ab15 Mon Sep 17 00:00:00 2001
From: Klas Arvidsson <klas.arvidsson@liu.se>
Date: Fri, 17 Jan 2020 00:47:46 +0100
Subject: [PATCH] updated rules for plot.ly

---
 files/squid/helpers/rules.d/rstudio.rules | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/files/squid/helpers/rules.d/rstudio.rules b/files/squid/helpers/rules.d/rstudio.rules
index c978bae..ba7a857 100644
--- a/files/squid/helpers/rules.d/rstudio.rules
+++ b/files/squid/helpers/rules.d/rstudio.rules
@@ -20,19 +20,22 @@
 ^https?://www\.jasondavies\.com/wordtree/.*             true
 
 // For plot.ly
-^https?://fonts\.googleapis\.com/css\?family=.*          true
-^https?://cdnjs\.cloudflare\.com/ajax/libs/.*\.js        true
 ^https?://ajax\.googleapis\.com/ajax/libs/.*\.js         true
+^https?://fonts\.googleapis\.com/css\?family=.*          true
 ^https?://maxcdn\.bootstrapcdn\.com/.*\.js               true
 ^https?://maxcdn\.bootstrapcdn\.com/.*\.css              true
-^https?://plot\.ly/gh-pages/documentation/static/.*      true
-^https?://images\.plot\.ly/assets/.*                     true
-^https?://images\.plot\.ly/excel/.*\.png                 true
-^https?://plot\.ly/images/plotly-ico\.png                true
-^https?://help\.plot\.ly/stylesheets/.*                  true
-^https?://cdn\.jsdelivr\.net/.*\.js                      true
+^https?://cdnjs\.cloudflare\.com/ajax/libs/.*\.js        true
+^https?://cdn\.plot\.ly/.*\.js				 true
+^https?://plot\.ly/all_static/.*			 true
 ^https?://www\.googletagmanager\.com/gtag/js\?.*         true
-^https?://.*-dsn\.algolia\.net/1/indexes/\*/queries\?x-algolia-api-key=.* true
+^https?://cdn\.jsdelivr\.net/.*\.js                      true
+
+^https?://plot\.ly/gh-pages/documentation/static/.*      false
+^https?://images\.plot\.ly/assets/.*                     false
+^https?://images\.plot\.ly/excel/.*\.png                 false
+^https?://plot\.ly/images/plotly-ico\.png                false
+^https?://help\.plot\.ly/stylesheets/.*                  false
+^https?://.*-dsn\.algolia\.net/1/indexes/\*/queries\?x-algolia-api-key=.* false
 
 // For shiny.rstudio.com
 ^https?://shiny\.rstudio\.com/lib/.*             true
-- 
GitLab