Skip to content

Commit 0a0e0ff

Browse files
authored
Merge pull request #33 from basicmachines-co/codex/fly-healthcheck
Fix Fly deploy health check
2 parents 0a8a644 + 8b8fabb commit 0a0e0ff

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)