mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	fix cache dep API broken
This commit is contained in:
		@@ -126,9 +126,9 @@ func newMacaron() *macaron.Macaron {
 | 
			
		||||
		Redirect:        true,
 | 
			
		||||
	}))
 | 
			
		||||
	m.Use(cache.Cacher(cache.Options{
 | 
			
		||||
		Adapter:  setting.CacheAdapter,
 | 
			
		||||
		Interval: setting.CacheInternal,
 | 
			
		||||
		Conn:     setting.CacheConn,
 | 
			
		||||
		Adapter:       setting.CacheAdapter,
 | 
			
		||||
		AdapterConfig: setting.CacheConn,
 | 
			
		||||
		Interval:      setting.CacheInternal,
 | 
			
		||||
	}))
 | 
			
		||||
	m.Use(captcha.Captchaer(captcha.Options{
 | 
			
		||||
		SubURL: setting.AppSubUrl,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user