Skip to content

Commit

Permalink
Add object_src
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryguy committed Apr 23, 2024
1 parent 72d8707 commit 4fc3c4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/initializers/secure_headers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
:font_src => ["'self'", 'https://fonts.gstatic.com', "https://fonts.googleapis.com"],
:frame_src => ["'self'"],
:img_src => ["'self'", "data:"],
:object_src => ["'self'"],
:script_src => ["'unsafe-eval'", "'unsafe-inline'", "'self'"],
:style_src => ["'unsafe-inline'", "'self'", "https://fonts.googleapis.com", "https://fonts.gstatic.com"],
}
Expand Down

0 comments on commit 4fc3c4b

Please sign in to comment.