mirror of
https://github.com/mastodon/mastodon
synced 2024-12-25 03:58:16 +09:00
11 lines
192 B
Ruby
11 lines
192 B
Ruby
|
SecureHeaders::Configuration.default do |config|
|
||
|
config.cookies = {
|
||
|
secure: true,
|
||
|
httponly: true,
|
||
|
samesite: {
|
||
|
lax: true
|
||
|
}
|
||
|
}
|
||
|
config.csp = SecureHeaders::OPT_OUT
|
||
|
end
|