fixed some routing issues
This commit is contained in:
+1
-1
@@ -2,5 +2,5 @@ import { drizzle } from 'drizzle-orm/postgres-js'
|
||||
import postgres from 'postgres'
|
||||
import * as schema from './schema'
|
||||
|
||||
const client = postgres(process.env.DATABASE_URL!)
|
||||
const client = postgres(process.env.DATABASE_URL!, { connect_timeout: 10 })
|
||||
export const db = drizzle(client, { schema, logger: true })
|
||||
|
||||
Reference in New Issue
Block a user