Skip to content

Commit

Permalink
chore: update redis example (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanechua authored Aug 26, 2023
1 parent 74615c3 commit 4ec4ef6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/redis.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ const Fastify = require('fastify')
const fastifySession = require('..')
const fastifyCookie = require('@fastify/cookie')
const Redis = require('ioredis')
const redisStoreFactory = require('connect-redis')
const RedisStore = require('connect-redis')

const fastify = Fastify()

const RedisStore = redisStoreFactory(fastifySession)
const store = new RedisStore({
client: new Redis({
enableAutoPipelining: true
Expand Down

0 comments on commit 4ec4ef6

Please sign in to comment.