From da84fee07a2d2b841577e404ff02d44162436268 Mon Sep 17 00:00:00 2001 From: "Jesse C. Fisher" Date: Mon, 18 Sep 2023 17:16:28 +0000 Subject: [PATCH] Add domain to action cable allow list --- config/environments/production.rb | 3 +++ 1 file changed, 3 insertions(+) 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