Skip to content

Commit 9e88166

Browse files
author
pseudocode88
committed
Add dirname to db path
1 parent 74fc742 commit 9e88166

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ var db = {};
22

33
$(window).on('load', () => {
44
db.accountSettings = new DS({
5-
filename: './account-settings.db',
5+
filename: __dirname + 'account-settings.db',
66
autoload: true,
77
timestampData: true
88
});

0 commit comments

Comments
 (0)