Add domain to action cable allow list
This commit is contained in:
parent
6887ea8bb8
commit
da84fee07a
@ -98,4 +98,7 @@ Rails.application.configure do
|
|||||||
|
|
||||||
# config.relative_url_root = "/13"
|
# config.relative_url_root = "/13"
|
||||||
# config.action_controller.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
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user