Default to the web domain (eg. mastodon.lubar.me) instead of the local domain (eg. lubar.me) for keybase proofs (#10565)
This commit is contained in:
		
							parent
							
								
									80c9cb0eb3
								
							
						
					
					
						commit
						be8692b938
					
				@ -2,7 +2,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
class ProofProvider::Keybase
 | 
					class ProofProvider::Keybase
 | 
				
			||||||
  BASE_URL = ENV.fetch('KEYBASE_BASE_URL', 'https://keybase.io')
 | 
					  BASE_URL = ENV.fetch('KEYBASE_BASE_URL', 'https://keybase.io')
 | 
				
			||||||
  DOMAIN   = ENV.fetch('KEYBASE_DOMAIN', Rails.configuration.x.local_domain)
 | 
					  DOMAIN   = ENV.fetch('KEYBASE_DOMAIN', Rails.configuration.x.web_domain)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  class Error < StandardError; end
 | 
					  class Error < StandardError; end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user