From 07134f6f9431aa35fe42c8fbaa9cd4d08ee2b168 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Thu, 24 Dec 2020 23:30:10 +0100 Subject: [PATCH] Remove policy declaration for local webpack-dev-server --- config/initializers/content_security_policy.rb | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 config/initializers/content_security_policy.rb diff --git a/config/initializers/content_security_policy.rb b/config/initializers/content_security_policy.rb deleted file mode 100644 index cb943e8c..00000000 --- a/config/initializers/content_security_policy.rb +++ /dev/null @@ -1,2 +0,0 @@ -# allow webpack-dev-server host as allowed origin for connect-src -policy.connect_src :self, :https, "http://localhost:3035", "ws://localhost:3035" if Rails.env.development? \ No newline at end of file