1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-19 00:58:21 +09:00
mastodon/config/initializers/makara.rb
Cecylia Bocovich e79f8dd85c
Onion service related changes to HTTPS handling (#15560)
* Enable secure cookie flag for https only

* Disable force_ssl for .onion hosts only

Co-authored-by: Aiden McClelland <me@drbonez.dev>
2021-02-11 04:40:13 +01:00

2 lines
51 B
Ruby

Makara::Cookie::DEFAULT_OPTIONS[:same_site] = :lax