Fixed actioncable
Some checks failed
parsley/pipeline/head There was a failure building this commit

This commit is contained in:
Dan Elbert 2022-02-02 21:25:11 -06:00
parent 7f1cf99237
commit b311a7d7e8
2 changed files with 4 additions and 1 deletions

View File

@ -39,7 +39,8 @@ Rails.application.configure do
# Mount Action Cable outside main process or domain
# config.action_cable.mount_path = nil
# config.action_cable.url = 'wss://example.com/cable'
# config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
config.action_cable.allowed_request_origins = [ /https?:\/\/beta.parsley.elbert.us/ ]
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
# config.force_ssl = true

View File

@ -29,6 +29,8 @@ Rails.application.configure do
# config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
config.action_cable.allowed_request_origins = [ /https?:\/\/parsley.elbert.us/ ]
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
# config.force_ssl = true