Change streaming API host to not be overridden to localhost in development mode (#28557)
This commit is contained in:
		@@ -23,7 +23,7 @@ Rails.application.configure do
 | 
			
		||||
    if Rails.env.production?
 | 
			
		||||
      "ws#{https ? 's' : ''}://#{web_host}"
 | 
			
		||||
    else
 | 
			
		||||
      "ws://#{ENV['REMOTE_DEV'] == 'true' ? host.split(':').first : 'localhost'}:4000"
 | 
			
		||||
      "ws://#{host.split(':').first}:4000"
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user