diff --git a/healthcheck.js b/healthcheck.js index ce5e962..2cdd4ee 100644 --- a/healthcheck.js +++ b/healthcheck.js @@ -1,6 +1,6 @@ (async () => { - require('dotenv').config() try { + require('dotenv').config() const res = await fetch(process.env.PROXY_PUBLIC_URL + '/healthcheck') if (await res.text() === 'ok') { process.exit(0) diff --git a/package.json b/package.json index f93b234..e1996df 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "immich-public-proxy", - "version": "1.2.1", + "version": "1.2.2", "main": "dist/index.js", "scripts": { "dev": "ts-node src/index.ts",