@@ -54,10 +54,7 @@ Rails.application.configure do
|
||||
# routes, locales, etc. This feature depends on the listen gem.
|
||||
config.file_watcher = ActiveSupport::EventedFileUpdateChecker
|
||||
|
||||
# config.action_cable.disable_request_forgery_protection = true
|
||||
config.action_cable.disable_request_forgery_protection=true
|
||||
config.action_cable.allowed_request_origins = [/http:\/\/*/, /https:\/\/*/]
|
||||
|
||||
config.action_cable.disable_request_forgery_protection = true
|
||||
# Set Cable URL
|
||||
# config.action_cable.url = "ws://192.168.1.196:3002/cable"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user