Consolidate app files
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
(async () => {
|
||||
try {
|
||||
require('dotenv').config()
|
||||
const res = await fetch(process.env.PROXY_PUBLIC_URL + '/healthcheck')
|
||||
if (await res.text() === 'ok') {
|
||||
process.exit(0)
|
||||
}
|
||||
} catch (e) { }
|
||||
process.exit(1)
|
||||
})()
|
||||
Reference in New Issue
Block a user