We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c4b86e commit eed6c16Copy full SHA for eed6c16
lib/secure_headers/configuration.rb
@@ -126,7 +126,7 @@ def deep_copy_if_hash(value)
126
# The list of attributes that must respond to a `make_header` method
127
HEADERABLE_ATTRIBUTES = (CONFIG_ATTRIBUTES - [:cookies]).freeze
128
129
- attr_writer(*(CONFIG_ATTRIBUTES_TO_HEADER_CLASSES.reject { |key| [:csp, :csp_report_only].include?(key)}.keys))
+ attr_writer(*(CONFIG_ATTRIBUTES_TO_HEADER_CLASSES.reject { |key| [:csp, :csp_report_only].include?(key) }.keys))
130
131
attr_reader(*(CONFIG_ATTRIBUTES_TO_HEADER_CLASSES.keys))
132
0 commit comments