Add image processing and generate blurhash for server thumbnail (#19348)
Remove separate server hero setting
This commit is contained in:
		
							parent
							
								
									7afc6a630c
								
							
						
					
					
						commit
						b04633a961
					
				
					 12 changed files with 50 additions and 24 deletions
				
			
		|  | @ -84,10 +84,6 @@ class InstancePresenter < ActiveModelSerializers::Model | |||
|     @thumbnail ||= Rails.cache.fetch('site_uploads/thumbnail') { SiteUpload.find_by(var: 'thumbnail') } | ||||
|   end | ||||
| 
 | ||||
|   def hero | ||||
|     @hero ||= Rails.cache.fetch('site_uploads/hero') { SiteUpload.find_by(var: 'hero') } | ||||
|   end | ||||
| 
 | ||||
|   def mascot | ||||
|     @mascot ||= Rails.cache.fetch('site_uploads/mascot') { SiteUpload.find_by(var: 'mascot') } | ||||
|   end | ||||
|  |  | |||
		Reference in a new issue