mirror of
https://github.com/immich-app/immich.git
synced 2026-03-04 09:57:33 +03:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user