1
0
Fork 0
forked from fedi/mastodon
mastodon/config/initializers/secureheaders.rb

11 lines
192 B
Ruby
Raw Normal View History

SecureHeaders::Configuration.default do |config|
config.cookies = {
secure: true,
httponly: true,
samesite: {
lax: true
}
}
config.csp = SecureHeaders::OPT_OUT
end