rsnext/examples/with-postgres/ley.config.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
208 B
JavaScript
Raw Normal View History

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;