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 92
92
config . active_support . disallowed_deprecation_warnings = [ ]
93
93
94
94
# 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
96
96
97
97
# Use a different logger for distributed setups.
98
98
# require "syslog/logger"
127
127
128
128
# Action Cable endpoint configuration
129
129
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 ) } " ]
132
132
end
You can’t perform that action at this time.
0 commit comments