Hard-coded secrets location
We're using Git now, so we do not need to store it elsewhere...
This commit is contained in:
parent
0af926928a
commit
02b3917d0c
1 changed files with 1 additions and 2 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue