rsnext/examples/with-postgres/ley.config.js
2022-11-16 09:17:43 +01:00

8 lines
203 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