refactor(server): move host env to config repo (#13507)

* refactor(server): access host through repository

* refactor(server): access host through repository
This commit is contained in:
Jason Rasmussen
2024-10-16 18:12:13 -04:00
committed by GitHub
parent e8015dc7d7
commit 51d4899cd1
3 changed files with 3 additions and 3 deletions

View File

@@ -50,6 +50,7 @@ export class ConfigRepository implements IConfigRepository {
};
return {
host: process.env.IMMICH_HOST,
port: Number(process.env.IMMICH_PORT) || 2283,
environment,
configFile: process.env.IMMICH_CONFIG_FILE,