mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 08:12:26 -05:00 
			
		
		
		
	[feature] Add instance-stats-randomize config option (#3718)
		
	* [feature] Add `instance-stats-randomize` config option * don't use cache (overkill)
This commit is contained in:
		
					parent
					
						
							
								c47b9bd1d1
							
						
					
				
			
			
				commit
				
					
						a55bd6d2bd
					
				
			
		
					 13 changed files with 183 additions and 10 deletions
				
			
		|  | @ -110,6 +110,13 @@ type InstanceV1 struct { | |||
| 	Terms string `json:"terms,omitempty"` | ||||
| 	// Raw (unparsed) version of terms. | ||||
| 	TermsRaw string `json:"terms_text,omitempty"` | ||||
| 
 | ||||
| 	// Random stats generated for the instance. | ||||
| 	// Only used if `instance-stats-randomize` is true. | ||||
| 	// Not serialized to the frontend. | ||||
| 	// | ||||
| 	// swagger:ignore | ||||
| 	RandomStats `json:"-"` | ||||
| } | ||||
| 
 | ||||
| // InstanceV1URLs models instance-relevant URLs for client application consumption. | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue