This commit is contained in:
Dev Team
2025-06-02 17:18:11 +06:30
parent 1a373f0d2a
commit 174a232421
10 changed files with 72 additions and 176 deletions

View File

@@ -54,7 +54,10 @@ 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.disable_request_forgery_protection=true
config.action_cable.allowed_request_origins = [/http:\/\/*/, /https:\/\/*/]
# Set Cable URL
# config.action_cable.url = "ws://192.168.1.196:3002/cable"
end