Skip to content

Commit

Permalink
chore(health): build health endpoint (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
mapra99 committed Feb 13, 2023
1 parent a043811 commit 504f497
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions app/routes/api/health/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export const loader = async () => {
return new Response('ok', {
status: 204,
})
}
2 changes: 1 addition & 1 deletion fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ processes = []
grace_period = "5s"
interval = "10s"
method = "get"
path = "/"
path = "/api/health"
protocol = "http"
timeout = "2s"
tls_skip_verify = false
Expand Down

0 comments on commit 504f497

Please sign in to comment.