mirror of
https://github.com/alangrainger/immich-public-proxy.git
synced 2024-12-28 03:41:58 +00:00
Enable locating config.json at IPP_CONFIG
This commit is contained in:
parent
e4d66a5ccc
commit
193d4e4d62
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ import { Response } from 'express-serve-static-core'
|
|||
|
||||
let config = {}
|
||||
try {
|
||||
const configJson = require('../config.json')
|
||||
const configJson = require(process.env.IPP_CONFIG || '../config.json')
|
||||
if (typeof configJson === 'object') config = configJson
|
||||
} catch (e) { }
|
||||
|
||||
|
|
Loading…
Reference in a new issue