File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 9292 config . active_support . disallowed_deprecation_warnings = [ ]
9393
9494 # Use default logging formatter so that PID and timestamp are not suppressed.
95- config . log_formatter = :: Logger ::Formatter . new
95+ config . log_formatter = Logger ::Formatter . new
9696
9797 # Use a different logger for distributed setups.
9898 # require "syslog/logger"
127127
128128 # Action Cable endpoint configuration
129129
130- config . action_cable . url = "wss://#{ ENV [ 'PRODUCTION_HOST' ] } /cable"
131- config . action_cable . allowed_request_origins = [ "https://#{ ENV [ 'PRODUCTION_HOST' ] } " ]
130+ config . action_cable . url = "wss://#{ ENV . fetch ( 'PRODUCTION_HOST' , nil ) } /cable"
131+ config . action_cable . allowed_request_origins = [ "https://#{ ENV . fetch ( 'PRODUCTION_HOST' , nil ) } " ]
132132end
You can’t perform that action at this time.
0 commit comments