9 lines
208 B
JavaScript
9 lines
208 B
JavaScript
|
const dotenv = require("dotenv");
|
||
|
const { parse } = require("pg-connection-string");
|
||
|
|
||
|
dotenv.config({ path: ".env.local" });
|
||
|
|
||
|
const options = parse(process.env.DATABASE_URL || "");
|
||
|
|
||
|
module.exports = options;
|