config/environments/development.rb
config.action_cable.url = ‘ws://10.129.56.223:28080‘ // 浏览器访问的websoket 服务地址
ActionCable.server.config.disable_request_forgery_protection = true // 允许远程请求访问
时间: 2024-11-15 06:12:45
config/environments/development.rb
config.action_cable.url = ‘ws://10.129.56.223:28080‘ // 浏览器访问的websoket 服务地址
ActionCable.server.config.disable_request_forgery_protection = true // 允许远程请求访问