mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02: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
|