mirror of
https://github.com/soconnor0919/beenvoice.git
synced 2026-02-05 00:06:36 -05:00
Update Next.js to version 15.4.2 and refactor invoice pages
- Upgrade Next.js and related packages for improved performance and security - Refactor invoice-related pages to streamline navigation and enhance user experience - Consolidate invoice editing and viewing functionality into a single page - Remove deprecated edit page and implement a new view page for invoices - Update links and routing for consistency across the dashboard
This commit is contained in:
@@ -16,7 +16,10 @@ export const pool =
|
||||
globalForDb.pool ??
|
||||
new Pool({
|
||||
connectionString: env.DATABASE_URL,
|
||||
ssl: env.NODE_ENV === "production" ? { rejectUnauthorized: false } : false,
|
||||
ssl:
|
||||
env.NODE_ENV === "production" && !env.DB_DISABLE_SSL
|
||||
? { rejectUnauthorized: false }
|
||||
: false,
|
||||
max: 20,
|
||||
idleTimeoutMillis: 30000,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user