bro wtf
This commit is contained in:
parent
84a9673759
commit
bfe1c4fe0a
@ -10,8 +10,7 @@ export let db;
|
|||||||
|
|
||||||
export const initDb = async () => {
|
export const initDb = async () => {
|
||||||
const client = new Pool({
|
const client = new Pool({
|
||||||
connectionString: env.DATABASE_URL,
|
connectionString: env.DATABASE_URL
|
||||||
max: 1
|
|
||||||
});
|
});
|
||||||
|
|
||||||
await client.connect();
|
await client.connect();
|
||||||
|
Loading…
Reference in New Issue
Block a user