Rename the DB config variable

This commit is contained in:
Gender Shrapnel 2019-10-22 01:07:26 +02:00
parent d53a3081c0
commit 31f5021048

View File

@ -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 };