refactor(server): new password repo method (#8208)

This commit is contained in:
Jason Rasmussen
2024-03-23 14:33:25 -04:00
committed by GitHub
parent 604b8ff17c
commit 787eebcf1e
9 changed files with 15 additions and 10 deletions

View File

@@ -3,6 +3,8 @@ import { readFileSync } from 'node:fs';
import { join } from 'node:path';
import { Version } from 'src/utils/version';
export const SALT_ROUNDS = 10;
const { version } = JSON.parse(readFileSync('./package.json', 'utf8'));
export const serverVersion = Version.fromString(version);