hapi-init-redis
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -6,3 +6,3 @@ /** | ||
class Cache () { | ||
class Cache { | ||
@@ -9,0 +9,0 @@ /** |
{ | ||
"name": "hapi-init-redis", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Hapi Caching Interface with redis", | ||
@@ -5,0 +5,0 @@ "main": "Cache.js", |
@@ -15,3 +15,4 @@ # HAPI INIT - Redis Cache plugin | ||
const cache = new Cache({ | ||
redisUrl: | ||
redisUrl: 'redis://127.0.0.1:6379', | ||
expiresIn: 1000 * 60 * 60 | ||
}); | ||
@@ -18,0 +19,0 @@ |
2943
28