hexojs / warehouse

JSON database

Home Page:https://hexojs.github.io/warehouse/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

setting custom path is not working

gurachan opened this issue · comments

var DB_PATH = path.join(path.dirname(__dirname), 'server/data_db', 'db.json');
var  DATA = new JSONdb({path: DB.DB_PATH, version: 1});

this is the output of the db_path /mnt/c/webserver/server/data_db/db.json