Skip to content

Commit

Permalink
Merge pull request #7901 from jmcameron/update-redis
Browse files Browse the repository at this point in the history
Changes for updated connect-redis

All tests pass
  • Loading branch information
jmcameron authored Nov 28, 2024
2 parents 66ddc38 + b89d7b6 commit 4a3000d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
"caniuse-lite": "1.0.30001684",
"chart.js": "^3.9.1",
"chartjs-plugin-datalabels": "^2.2.0",
"connect-redis": "^7.1.1",
"connect-redis": "^8.0.0",
"cookie": "1.0.2",
"cron": "^3.2.1",
"cross-env": "^7.0.3",
Expand Down
2 changes: 1 addition & 1 deletion server/config/express.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const session = require('express-session');
// NOTE: connect-redis now automatically imports the session data from
// express-session. See the migration notes in
// https://github.com/tj/connect-redis/releases/tag/v7.0.0
const RedisStore = require('connect-redis').default;
const { RedisStore } = require('connect-redis');
const Redis = require('ioredis');
const morgan = require('morgan');
const helmet = require('helmet');
Expand Down

0 comments on commit 4a3000d

Please sign in to comment.