diff --git a/queueFeeds.js b/queueFeeds.js index 2187766..466784c 100644 --- a/queueFeeds.js +++ b/queueFeeds.js @@ -1,5 +1,5 @@ const Database = require('better-sqlite3'); -const db = new Database('bot-node.db'); +const db = new Database('data/bot-node.db'); const Jackd = require('jackd'); const beanstalkd = new Jackd(); diff --git a/updateFeeds.js b/updateFeeds.js index c9c4f2c..ed7bc4a 100644 --- a/updateFeeds.js +++ b/updateFeeds.js @@ -1,7 +1,7 @@ const config = require('./config.json'); const { DOMAIN, PRIVKEY_PATH, CERT_PATH, PORT_HTTP, PORT_HTTPS } = config; const Database = require('better-sqlite3'); -const db = new Database('bot-node.db'), +const db = new Database('data/bot-node.db'), Parser = require('rss-parser'), request = require('request'), crypto = require('crypto'),