mirror of
https://github.com/immich-app/immich.git
synced 2025-11-27 07:10:00 +09:00
refactor(server): new password repo method (#8208)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user