forked from External/greenlight
		
	configuration_updates
This commit is contained in:
		@@ -63,9 +63,11 @@ Rails.application.configure do
 | 
			
		||||
  # Set this to true and configure the email server for immediate delivery to raise delivery errors.
 | 
			
		||||
  # config.action_mailer.raise_delivery_errors = false
 | 
			
		||||
 | 
			
		||||
  # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
 | 
			
		||||
  # the I18n.default_locale when a translation cannot be found).
 | 
			
		||||
  config.i18n.fallbacks = true
 | 
			
		||||
  # action cable socket URI
 | 
			
		||||
  config.action_cable.url = "ws://#{ENV['HOSTNAME']}/cable" # TODO this should use WSS protocol
 | 
			
		||||
 | 
			
		||||
  # allowed action cable origins
 | 
			
		||||
  config.action_cable.allowed_request_origins = ["https://#{ENV['HOSTNAME']}", "http://#{ENV['HOSTNAME']}"]
 | 
			
		||||
 | 
			
		||||
  # Send deprecation notices to registered listeners.
 | 
			
		||||
  config.active_support.deprecation = :notify
 | 
			
		||||
 
 | 
			
		||||
@@ -9,7 +9,7 @@ threads threads_count, threads_count
 | 
			
		||||
 | 
			
		||||
# Specifies the `port` that Puma will listen on to receive requests, default is 3000.
 | 
			
		||||
#
 | 
			
		||||
port        ENV.fetch("PORT") { 3000 }
 | 
			
		||||
port        ENV.fetch("PORT") { 9292 }
 | 
			
		||||
 | 
			
		||||
# Specifies the `environment` that Puma will run in.
 | 
			
		||||
#
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user