Skip to content

Commit 9ecc2d6

Browse files
committed
Add health route
1 parent 9e9f275 commit 9ecc2d6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import { LoaderFunctionArgs } from '@remix-run/node'
2+
3+
export async function loader({ params }: LoaderFunctionArgs) {
4+
return new Response('OK', {
5+
status: 200,
6+
headers: {
7+
'Cache-Control': 'no-cache',
8+
'Content-Type': 'text/plain',
9+
'X-Health-Check': 'OK',
10+
},
11+
})
12+
}

0 commit comments

Comments
 (0)