mirror of
https://github.com/dariusk/rss-to-activitypub.git
synced 2024-11-26 19:09:19 +02:00
move db to directory for better support for docker volumes
This commit is contained in:
parent
2cf520fd4b
commit
81fe19e298
|
@ -0,0 +1 @@
|
|||
!.gitignore
|
2
index.js
2
index.js
|
@ -3,7 +3,7 @@ const { DOMAIN, PRIVKEY_PATH, CERT_PATH, PORT_HTTP, PORT_HTTPS } = config;
|
|||
const express = require('express');
|
||||
const app = express();
|
||||
const Database = require('better-sqlite3');
|
||||
const db = new Database('bot-node.db');
|
||||
const db = new Database('data/bot-node.db');
|
||||
const fs = require('fs');
|
||||
const routes = require('./routes'),
|
||||
bodyParser = require('body-parser'),
|
||||
|
|
Loading…
Reference in New Issue