mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-18 20:57:40 +02:00
Update server configuration and types for improved stability
Revert and adjust TypeScript configurations, refine server route types, and update database connection handling for better performance and compatibility. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 2743061c-c65e-41ed-bf21-8da6d73315e6 Replit-Commit-Checkpoint-Type: full_checkpoint
This commit is contained in:
1 parent
6b6c25e41e
commit
97f6217dcc
5 files changed
+13
-11
No files matched your search
+1
-1
@@ -32,7 +32,7 @@ if (isProduction && dbUrl && (dbUrl.includes('logiflow-db') || dbUrl.includes('l
|
||||
|
||||
// Test connection
|
||||
try {
|
||||
await pool.connect().then(client => {
|
||||
await pool.connect().then((client: any) => {
|
||||
console.log('✅ PostgreSQL connection test successful');
|
||||
client.release();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user