mirror of
https://github.com/go-gitea/gitea
synced 2024-11-15 14:31:41 +01:00
fix cache dep API broken
This commit is contained in:
parent
63c1f9a23f
commit
0f1ff9b1ad
1 changed files with 3 additions and 3 deletions
|
@ -126,9 +126,9 @@ func newMacaron() *macaron.Macaron {
|
||||||
Redirect: true,
|
Redirect: true,
|
||||||
}))
|
}))
|
||||||
m.Use(cache.Cacher(cache.Options{
|
m.Use(cache.Cacher(cache.Options{
|
||||||
Adapter: setting.CacheAdapter,
|
Adapter: setting.CacheAdapter,
|
||||||
Interval: setting.CacheInternal,
|
AdapterConfig: setting.CacheConn,
|
||||||
Conn: setting.CacheConn,
|
Interval: setting.CacheInternal,
|
||||||
}))
|
}))
|
||||||
m.Use(captcha.Captchaer(captcha.Options{
|
m.Use(captcha.Captchaer(captcha.Options{
|
||||||
SubURL: setting.AppSubUrl,
|
SubURL: setting.AppSubUrl,
|
||||||
|
|
Loading…
Reference in a new issue