fix: config path /config/config to /config
This commit is contained in:
1 parent
0d64a66977
commit
4d319f97bc
6 files changed
+6
-6
No files matched your search
+1
-1
@@ -11,7 +11,7 @@ import path from 'path'
|
||||
import crypto from 'crypto'
|
||||
import { DATA_DIR } from './config.js'
|
||||
|
||||
const SECRET_PATH = path.join(DATA_DIR, 'config', 'secret.key')
|
||||
const SECRET_PATH = path.join(DATA_DIR, 'secret.key')
|
||||
|
||||
function generateSecret(): string {
|
||||
return crypto.randomBytes(48).toString('hex')
|
||||
|
||||
Reference in new issue
Block a user