Skip to content

Commit

Permalink
Remove redis-node package
Browse files Browse the repository at this point in the history
  • Loading branch information
blazejpass committed Apr 3, 2024
1 parent c74724f commit cdac8ad
Show file tree
Hide file tree
Showing 3 changed files with 157 additions and 142 deletions.
3 changes: 1 addition & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const morgan = require('morgan');
const cookieParser = require('cookie-parser');
const bodyParser = require('body-parser');
const compression = require('compression');
const redis = require('redis');
const redis = require('ioredis');
const RedisStore = require('connect-redis').default;
const session = require('express-session');
const methodOverride = require('method-override');
Expand Down Expand Up @@ -211,7 +211,6 @@ app.use(methodOverride((req, res, next) => { // for POST requests
app.use(require('./middleware/i18n'));
app.use(require('./middleware/datetime'));


const redirectUrl = Configuration.get('ROOT_URL_REDIRECT');
if (redirectUrl !== '') {
app.get('/', (req, res, next) => {
Expand Down
Loading

0 comments on commit cdac8ad

Please sign in to comment.