diff --git a/cookies.txt b/cookies.txt index f442c0e..5b77c66 100644 --- a/cookies.txt +++ b/cookies.txt @@ -2,4 +2,4 @@ # https://curl.se/docs/http-cookies.html # This file was generated by libcurl! Edit at your own risk. -#HttpOnly_localhost FALSE / FALSE 1755533276 connect.sid s%3AeSuU-8Im6I46mIPMKRDM-0aPCdhWTzSL.7GTr5iIPSvj6vp5hpsbHQAs979W057UO9Lr3uRDpJ3I +#HttpOnly_localhost FALSE / FALSE 1755533549 connect.sid s%3AGRBodJanN_-I3rKEedKB2fTigAi5MCxd.DwfSaA4EL79Luvbib4T399slEhtQV%2Fw%2FbjUwjRGRU3g diff --git a/server/storage.ts b/server/storage.ts index a976228..fba8d01 100644 --- a/server/storage.ts +++ b/server/storage.ts @@ -3401,8 +3401,7 @@ console.log('🔗 Database initialization:', { dbHost: process.env.DATABASE_URL?.split('@')[1]?.split('/')[0] || 'unknown' }); -// TEMPORARY: Force MemStorage for cache testing -export const storage: IStorage = new MemStorage(); +export const storage: IStorage = isProduction ? new DatabaseStorage() : new MemStorage(); if (isProduction) { console.log('✅ Using DatabaseStorage (production PostgreSQL)'); } else {