* refactor: auth * chore: tests * Remove await on non-async method * refactor: constants * chore: remove extra async Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
8 lines
200 B
TypeScript
8 lines
200 B
TypeScript
import { JwtModuleOptions } from '@nestjs/jwt';
|
|
import { jwtSecret } from './auth.constant';
|
|
|
|
export const jwtConfig: JwtModuleOptions = {
|
|
secret: jwtSecret,
|
|
signOptions: { expiresIn: '30d' },
|
|
};
|