fix: path
This commit is contained in:
1 parent
418d09b07f
commit
77d918fbe0
8 files changed
+17
-17
No files matched your search
+2
-2
@@ -4,9 +4,9 @@ import bcrypt from 'bcryptjs'
|
||||
import jwt from 'jsonwebtoken'
|
||||
import type { Request, Response, NextFunction } from 'express'
|
||||
import { JWT_SECRET } from './secret.js'
|
||||
import { BASE_DIR } from './config.js'
|
||||
import { DATA_DIR } from './config.js'
|
||||
|
||||
const DATA_PATH = path.join(BASE_DIR, 'config', 'auth.json')
|
||||
const DATA_PATH = path.join(DATA_DIR, 'config', 'auth.json')
|
||||
const SALT_ROUNDS = 10
|
||||
|
||||
interface AuthData {
|
||||
|
||||
Reference in new issue
Block a user