mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-03-10 06:00:19 +00:00
19 lines
471 B
TypeScript
19 lines
471 B
TypeScript
|
import type { LoaderFunctionArgs } from '@remix-run/node';
|
||
|
|
||
|
export const loader = async ({ request: _request }: LoaderFunctionArgs) => {
|
||
|
// Return a simple 200 OK response with some basic health information
|
||
|
return new Response(
|
||
|
JSON.stringify({
|
||
|
status: 'healthy',
|
||
|
timestamp: new Date().toISOString(),
|
||
|
uptime: process.uptime(),
|
||
|
}),
|
||
|
{
|
||
|
status: 200,
|
||
|
headers: {
|
||
|
'Content-Type': 'application/json',
|
||
|
},
|
||
|
},
|
||
|
);
|
||
|
};
|