overleaf/services/history-v1/storage/lib/knex.js

7 lines
156 B
JavaScript
Raw Normal View History

'use strict'
const env = process.env.NODE_ENV || 'development'
const knexfile = require('../../knexfile')
module.exports = require('knex')(knexfile[env])