Skip to content

Commit

Permalink
updated engines in package.json file
Browse files Browse the repository at this point in the history
  • Loading branch information
VenketeshRushi committed Oct 29, 2023
1 parent a30de36 commit fdc31bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ var cookieParser = require("cookie-parser");
var logger = require("morgan");
var cors = require("cors");
var session = require("express-session");
const MemoryStore = require("memorystore")(session);

const AuthApiRoutes = require("./module_auth/routes/auth.routes");
const ProductApiRoutes = require("./module_product/routes/product.routes");
Expand Down Expand Up @@ -33,6 +34,9 @@ app.use(
resave: false,
saveUninitialized: false,
secret: "asdasdasdasdasd",
store: new MemoryStore({
checkPeriod: 86400000, // Prune expired entries every 24h (in milliseconds)
}),
})
);

Expand Down

0 comments on commit fdc31bd

Please sign in to comment.