Update healthcheck

This commit is contained in:
Alan Grainger
2024-11-02 22:38:43 +01:00
parent 69d88fa849
commit caced325bd
5 changed files with 6 additions and 8 deletions
+1 -2
View File
@@ -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)
}