Hard-coded secrets location

We're using Git now, so we do not need to store it elsewhere...
This commit is contained in:
7cc5c4f330d47060 2024-08-22 13:52:21 -04:00
parent 0af926928a
commit 02b3917d0c
Signed by: 7cc5c4f330d47060
SSH key fingerprint: SHA256:e+4tcZut1nBpe10PqjaO+Rvie0Q7W4qIvFzcUw+7riA

View file

@ -1,6 +1,5 @@
const crypto = require('crypto') const crypto = require('crypto')
const settings = require('../settings.json') const secret = require('../secret.json')
const secret = require(settings.secret)
module.exports = function (cmd) { module.exports = function (cmd) {
const cmdWithoutHash = cmd.slice(0, cmd.length - 1).join(' ') const cmdWithoutHash = cmd.slice(0, cmd.length - 1).join(' ')
const _dateString = Date.now().toString() const _dateString = Date.now().toString()