summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-12-31 17:08:57 +0800
committerUnknwon <joe2010xtmf@163.com>2014-12-31 17:08:57 +0800
commit0f1ff9b1adaccf485815b9e782be825bb9760d93 (patch)
treea9d0d49e9b793b2ec8211e4e9b9ac3e89ddeffb8 /cmd
parent63c1f9a23fd9b3d756e6763005df9262ccb15101 (diff)
downloadgitea-0f1ff9b1adaccf485815b9e782be825bb9760d93.tar.gz
gitea-0f1ff9b1adaccf485815b9e782be825bb9760d93.zip
fix cache dep API broken
Diffstat (limited to 'cmd')
-rw-r--r--cmd/web.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/web.go b/cmd/web.go
index ddb34829b7..51f146f374 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -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,