diff --git a/config/environments/production.rb b/config/environments/production.rb index 5e8e1f8c..cdd6c39b 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -98,4 +98,7 @@ Rails.application.configure do # config.relative_url_root = "/13" # config.action_controller.relative_url_root = '/13' + config.action_cable.allowed_request_origins =['my.tendy.zone'] # all origins in array will be allowed through + config.action_cable.disable_request_forgery_protection = true + end