* Adds version. * Cleans up code. * Removes standalone endpoint and adds version to instance endpoint. * Addresses feedback from #2181.
		
			
				
	
	
		
			8 lines
		
	
	
		
			232 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			232 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| object false
 | |
| 
 | |
| node(:uri)         { site_hostname }
 | |
| node(:title)       { Setting.site_title }
 | |
| node(:description) { Setting.site_description }
 | |
| node(:email)       { Setting.site_contact_email }
 | |
| node(:version)     { Mastodon::VERSION }
 |