Rename the DB config variable
This commit is contained in:
parent
d53a3081c0
commit
31f5021048
@ -46,5 +46,5 @@ if (process.env.NODE_ENV !== "production") {
|
||||
import("pg-monitor").then(monitor => monitor.attach(initOptions));
|
||||
}
|
||||
|
||||
const db: ExtendedProtocol = pgp(process.env.PG_CONNECTION_STRING);
|
||||
const db: ExtendedProtocol = pgp(process.env.DATABASE_URL);
|
||||
export { db, pgp };
|
||||
|
Loading…
x
Reference in New Issue
Block a user