mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
refactor: node_env => immich_env (#9561)
This commit is contained in:
parent
2689178a35
commit
2e62c7b417
7 changed files with 9 additions and 11 deletions
|
|
@ -16,8 +16,8 @@ export const serverVersion = Version.fromString(version);
|
|||
export const AUDIT_LOG_MAX_DURATION = Duration.fromObject({ days: 100 });
|
||||
export const ONE_HOUR = Duration.fromObject({ hours: 1 });
|
||||
|
||||
export const envName = (process.env.NODE_ENV || 'development').toUpperCase();
|
||||
export const isDev = () => process.env.NODE_ENV === 'development';
|
||||
export const envName = (process.env.IMMICH_ENV || 'production').toUpperCase();
|
||||
export const isDev = () => process.env.IMMICH_ENV === 'development';
|
||||
export const APP_MEDIA_LOCATION = process.env.IMMICH_MEDIA_LOCATION || './upload';
|
||||
export const WEB_ROOT = process.env.IMMICH_WEB_ROOT || '/usr/src/app/www';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue