diff options
-rw-r--r-- | config/environments/production.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb index beef772..4333530 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -43,7 +43,7 @@ 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://playesoterra.com" ] # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. # config.force_ssl = true @@ -119,4 +119,5 @@ Rails.application.configure do # config.active_record.database_resolver_context = ActiveRecord::Middleware::DatabaseSelector::Resolver::Session config.hosts << "playesoterra.com" + config.hosts << "localhost" end |