gd-utils/db.js

6 lines
161 B
JavaScript
Raw Normal View History

2020-06-27 14:19:43 +08:00
const path = require('path')
const db_location = path.join(__dirname, 'gdurl.sqlite')
const db = require('better-sqlite3')(db_location)
module.exports = { db }