From 9e1159c9c2fa5da354a058988c6b8a8955ee34bc Mon Sep 17 00:00:00 2001
From: Klas Arvidsson <klas.arvidsson@liu.se>
Date: Mon, 10 Feb 2020 20:58:38 +0100
Subject: [PATCH] ruby-doc.org: allow css and js

---
 files/squid/helpers/rules.d/ruby.rules | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/files/squid/helpers/rules.d/ruby.rules b/files/squid/helpers/rules.d/ruby.rules
index 48231fb..6feafe1 100644
--- a/files/squid/helpers/rules.d/ruby.rules
+++ b/files/squid/helpers/rules.d/ruby.rules
@@ -7,6 +7,11 @@
 ^https?://rubular\.com/.*			       true
 ^https?://docs\.ruby-doc\.com/docs/ProgrammingRuby/.*  true
 
+// support files
+^https?://ruby-doc\.org/css/.*               true
+^https?://ruby-doc\.org/js/.*                true
+^https?://ruby-doc\.org/favicon\.ico         true
+
 // Old
 // ^https?://ruby-doc\.org/.*  true
 // ^https?://rubular\.com/.*   true
-- 
GitLab