Update healthcheck
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
IMMICH_URL=http://localhost:2283
|
||||
PROXY_PUBLIC_URL=https://your-proxy-url.com
|
||||
PORT=3000
|
||||
CACHE_AGE=2592000
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
(async () => {
|
||||
try {
|
||||
require('dotenv').config()
|
||||
const res = await fetch(process.env.PROXY_PUBLIC_URL + '/healthcheck')
|
||||
const res = await fetch('http://localhost:3000/healthcheck')
|
||||
if (await res.text() === 'ok') {
|
||||
process.exit(0)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user