VITE_OBP_SERVER_SESSION_PASSWORD corrected name

This commit is contained in:
simonredfern 2025-12-30 12:33:09 +01:00
parent 8a8ee8eb5b
commit 6fd988a0a7

View File

@ -121,7 +121,7 @@ app.use(express.json())
let sessionObject = {
store: redisStore,
name: 'obp-api-explorer-ii.sid', // CRITICAL: Unique cookie name to prevent conflicts with other apps on localhost
secret: process.env.VITE_OPB_SERVER_SESSION_PASSWORD,
secret: process.env.VITE_OBP_SERVER_SESSION_PASSWORD,
resave: false,
saveUninitialized: false, // Don't save empty sessions (better for authenticated apps)
cookie: {