Fix require statement for db module

This commit is contained in:
lincomatic
2026-03-21 01:29:01 +00:00
committed by you
parent 78cc5edbb4
commit 0c97e4e980
+1 -1
View File
@@ -45,7 +45,7 @@ function computeContentHash(rawHex) {
return crypto.createHash('sha256').update(toHash).digest('hex').slice(0, 16);
} catch { return rawHex.slice(0, 16); }
}
const db = require('./db')
const db = require('./db');
const pktStore = new PacketStore(db, config.packetStore || {}).load();
const configuredChannelKeys = config.channelKeys || {};
const hashChannels = Array.isArray(config.hashChannels) ? config.hashChannels : [];