menuserver/server/lib/connect.js
2020-06-26 12:02:27 +01:00

6 lines
180 B
JavaScript

const sqlite3 = require('sqlite3').verbose();
console.log(`${__dirname}/../../db/menu.db`);
const db = new sqlite3.Database(`${__dirname}/../../db/menu.db`);
module.exports = db;