Raise Mastodon::HostValidationError when host for HTTP request is private (#6410)
This commit is contained in:
		
				
					committed by
					
						
						Eugen Rochko
					
				
			
			
				
	
			
			
			
						parent
						
							7cb49eaa3a
						
					
				
				
					commit
					2e8a492e88
				
			@@ -9,6 +9,10 @@ end
 | 
			
		||||
 | 
			
		||||
Sidekiq.configure_server do |config|
 | 
			
		||||
  config.redis = redis_params
 | 
			
		||||
 | 
			
		||||
  config.server_middleware do |chain|
 | 
			
		||||
    chain.add SidekiqErrorHandler
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
Sidekiq.configure_client do |config|
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user