mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
fix: immich port with external domain (#9856)
* fix: immich port with external domain * rename variable
This commit is contained in:
parent
416399499b
commit
12cf116798
2 changed files with 6 additions and 3 deletions
|
|
@ -24,6 +24,8 @@ 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';
|
||||
const HOST_SERVER_PORT = process.env.IMMICH_PORT || '2283';
|
||||
export const DEFAULT_EXTERNAL_DOMAIN = 'http://localhost:' + HOST_SERVER_PORT;
|
||||
|
||||
const GEODATA_ROOT_PATH = process.env.IMMICH_REVERSE_GEOCODING_ROOT || '/usr/src/resources';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue