From 02b3917d0c3d2930df08e6f05ca25295a7492d2d Mon Sep 17 00:00:00 2001 From: 7cc5c4f330d47060 Date: Thu, 22 Aug 2024 13:52:21 -0400 Subject: [PATCH] Hard-coded secrets location We're using Git now, so we do not need to store it elsewhere... --- util/hashcheck.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/util/hashcheck.js b/util/hashcheck.js index 3cad0c2..7934bd4 100644 --- a/util/hashcheck.js +++ b/util/hashcheck.js @@ -1,6 +1,5 @@ const crypto = require('crypto') -const settings = require('../settings.json') -const secret = require(settings.secret) +const secret = require('../secret.json') module.exports = function (cmd) { const cmdWithoutHash = cmd.slice(0, cmd.length - 1).join(' ') const _dateString = Date.now().toString()