budibase/packages/server/db/client.js

5 lines
157 B
JavaScript
Raw Normal View History

2020-04-07 16:12:08 +02:00
const nano = require("nano");
const COUCH_DB_URL = process.env.COUCH_DB_URL || "http://admin:password@localhost:5984";
module.exports = nano(COUCH_DB_URL);