Skip to content

Commit 8b8fabb

Browse files
committed
Fix Fly deploy health check
1 parent 0a8a644 commit 8b8fabb

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

fly.toml.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ kill_timeout = '5s'
2828
timeout = '5s'
2929
grace_period = '10s'
3030
method = 'get'
31-
path = '/'
31+
path = '/healthz'
3232

3333
[[vm]]
3434
size = 'shared-cpu-1x'

server/routes/healthz.get.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default defineEventHandler(() => 'ok')

0 commit comments

Comments
 (0)