mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-07-19 05:09:41 +02:00
* refactor createmenutree * Update src/routes/middlewares/pages.js Co-Authored-By: khaydarov <murod.haydarov@inbox.ru> * push migration * update * remove migration and order is optional * eslint fixes
5 lines
192 B
JavaScript
5 lines
192 B
JavaScript
const Datastore = require('nedb');
|
|
const config = require('../../../config');
|
|
const db = new Datastore({filename: `./${config.database}/pagesOrder.db`, autoload: true});
|
|
|
|
module.exports = db;
|