mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00:00 
			
		
		
		
	Backport #34024 since there are too many AI crawlers. The new code is covered by tests and it does nothing if users don't set it.
This commit is contained in:
		@@ -26,6 +26,7 @@ type ConfigKey interface {
 | 
			
		||||
	In(defaultVal string, candidates []string) string
 | 
			
		||||
	String() string
 | 
			
		||||
	Strings(delim string) []string
 | 
			
		||||
	Bool() (bool, error)
 | 
			
		||||
 | 
			
		||||
	MustString(defaultVal string) string
 | 
			
		||||
	MustBool(defaultVal ...bool) bool
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user