add permissive CORS to API controllersmaster
parent
0a6b5e2c17
commit
9467b900a2
@ -1,3 +1,3 @@ |
||||
# Be sure to restart your server when you modify this file. |
||||
|
||||
Rails.application.config.session_store :cookie_store, key: '_mastodon_session' |
||||
Rails.application.config.session_store :cookie_store, key: '_mastodon_session', secure: (ENV['LOCAL_HTTPS'] == 'true') |
||||
|
Loading…
Reference in new issue