File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const fastify = require('fastify')()
27
27
// create by specifying host
28
28
fastify .register (require (' fastify-redis' ), { host: ' 127.0.0.1' })
29
29
30
- // OR or by specifying Redis URL
30
+ // OR by specifying Redis URL
31
31
fastify .register (require (' fastify-redis' ), { url: ' redis://127.0.0.1' , /* other redis options */ })
32
32
33
33
// OR with more options
@@ -41,7 +41,7 @@ fastify.register(require('fastify-redis'), {
41
41
42
42
### Accessing the Redis Client
43
43
44
- Once you're registered your plugin, you can access the Redis client via ` fastify.redis ` .
44
+ Once you have registered your plugin, you can access the Redis client via ` fastify.redis ` .
45
45
46
46
The client is automatically closed when the fastify instance is closed.
47
47
You can’t perform that action at this time.
0 commit comments