Skip to content

Commit

Permalink
Lint + spec
Browse files Browse the repository at this point in the history
  • Loading branch information
kitallis committed Oct 13, 2023
1 parent c18532d commit cba24c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/content_security_policy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy

def connect_src_uris
ENV["CSP_CONNECT_SRC_URIS"].split(",") || []
ENV["CSP_CONNECT_SRC_URIS"]&.split(",") || []
end

def csp_reporting_uri
Expand Down

0 comments on commit cba24c1

Please sign in to comment.