diff --git a/backend/src/main.mjs b/backend/src/main.mjs index be29660..b77da3f 100644 --- a/backend/src/main.mjs +++ b/backend/src/main.mjs @@ -27,7 +27,7 @@ function escapeHtml(unsafe) { // db -const db = new Database('ucs.db'); // , { verbose: console.log }); +const db = new Database(process.env.DB || 'ucs.db'); // , { verbose: console.log }); db.pragma('journal_mode = WAL'); const migrations = [