aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/ujs/server.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionview/test/ujs/server.rb')
-rw-r--r--actionview/test/ujs/server.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionview/test/ujs/server.rb b/actionview/test/ujs/server.rb
index 56f436c8b8..d7a6271587 100644
--- a/actionview/test/ujs/server.rb
+++ b/actionview/test/ujs/server.rb
@@ -23,6 +23,7 @@ module UJS
config.public_file_server.enabled = true
config.logger = Logger.new(STDOUT)
config.log_level = :error
+ config.hosts << proc { true }
config.content_security_policy do |policy|
policy.default_src :self, :https