Harden web session handling and production config

This commit is contained in:
2026-04-07 19:48:48 -05:00
parent 890f3fff2b
commit 0292b2e85a
9 changed files with 96 additions and 20 deletions
+1
View File
@@ -16,6 +16,7 @@ app.use(helmet());
app.use(
cors({
origin: env.corsOrigin,
credentials: true,
})
);
app.use(morgan(env.nodeEnv === 'production' ? 'combined' : 'dev'));