From 30bb809a469b43a02ccb5287414d1de49ab7f984 Mon Sep 17 00:00:00 2001 From: xangelo Date: Fri, 26 Jan 2024 22:50:14 -0500 Subject: [PATCH] add debug prop as env var --- src/server.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server.ts b/src/server.ts index 707c0a0..9d987c0 100644 --- a/src/server.ts +++ b/src/server.ts @@ -8,6 +8,7 @@ import { renderFeedItem, renderFeedItemHeader } from './views'; const db = knex({ client: 'better-sqlite3', + debug: process.env.DEBUG === 'true', connection: { filename: join('./data.db') } -- 2.25.1