mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-16 02:18:22 -07:00
fix cache dep API broken
This commit is contained in:
parent
63c1f9a23f
commit
0f1ff9b1ad
@ -127,8 +127,8 @@ func newMacaron() *macaron.Macaron {
|
|||||||
}))
|
}))
|
||||||
m.Use(cache.Cacher(cache.Options{
|
m.Use(cache.Cacher(cache.Options{
|
||||||
Adapter: setting.CacheAdapter,
|
Adapter: setting.CacheAdapter,
|
||||||
|
AdapterConfig: setting.CacheConn,
|
||||||
Interval: setting.CacheInternal,
|
Interval: setting.CacheInternal,
|
||||||
Conn: setting.CacheConn,
|
|
||||||
}))
|
}))
|
||||||
m.Use(captcha.Captchaer(captcha.Options{
|
m.Use(captcha.Captchaer(captcha.Options{
|
||||||
SubURL: setting.AppSubUrl,
|
SubURL: setting.AppSubUrl,
|
||||||
|
Loading…
Reference in New Issue
Block a user