mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fix typo in lifecycle endpoint path
This commit is contained in:
parent
7f4f7c6a80
commit
ed7ac6c1b4
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ const main = async () => {
|
|||
// respond healthy to auto-scaler.
|
||||
app.get('/_ah/health', (req, res) => res.sendStatus(200))
|
||||
|
||||
app.get('/lifecyle/prestop', async (req, res) => {
|
||||
app.get('/lifecycle/prestop', async (req, res) => {
|
||||
logger.info('prestop lifecycle hook called.')
|
||||
await worker.close()
|
||||
res.sendStatus(200)
|
||||
|
|
|
|||
Loading…
Reference in a new issue