mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
9467b900a2
add permissive CORS to API controllers
4 lines
180 B
Ruby
4 lines
180 B
Ruby
# Be sure to restart your server when you modify this file.
|
|
|
|
Rails.application.config.session_store :cookie_store, key: '_mastodon_session', secure: (ENV['LOCAL_HTTPS'] == 'true')
|