action cable 生产部署注意
程序员文章站
2022-05-21 10:44:18
...
config/environments/production.rb:
config.action_cable.allowed_request_origins = ['*']
config.action_cable.disable_request_forgery_protection = true
config.action_cable.allowed_request_origins = ['*']
config.action_cable.disable_request_forgery_protection = true