diff --git a/.replit b/.replit index 51f344f..16867d4 100644 --- a/.replit +++ b/.replit @@ -14,6 +14,10 @@ run = ["npm", "run", "start"] localPort = 5000 externalPort = 80 +[[ports]] +localPort = 35473 +externalPort = 3000 + [workflows] runButton = "Project" diff --git a/server/replitAuth.ts b/server/replitAuth.ts index efd046c..6ef6585 100644 --- a/server/replitAuth.ts +++ b/server/replitAuth.ts @@ -27,7 +27,7 @@ export function getSession() { const pgStore = connectPg(session); const sessionStore = new pgStore({ conString: process.env.DATABASE_URL, - createTableIfMissing: false, + createTableIfMissing: true, ttl: sessionTtl, tableName: "sessions", });