feat: initialize pg session

This commit is contained in:
amhsirak
2025-03-23 13:50:26 +05:30
parent 7f1a1f2c1a
commit a4dd0e5831

View File

@@ -41,6 +41,7 @@ const pool = new Pool({
port: process.env.DB_PORT ? parseInt(process.env.DB_PORT, 10) : undefined,
});
const PgSession = connectPgSimple(session);
app.use(
session({