Other areas of the AE SvelteKit primary routes.
This commit is contained in:
@@ -6,14 +6,17 @@ import type { RequestHandler } from './$types';
|
||||
* Used by Docker and Nginx to verify the service is running.
|
||||
*/
|
||||
export const GET: RequestHandler = async () => {
|
||||
return json({
|
||||
status: 'healthy',
|
||||
timestamp: new Date().toISOString(),
|
||||
service: 'aether-app-sveltekit',
|
||||
node_env: process.env.NODE_ENV || 'development'
|
||||
}, {
|
||||
headers: {
|
||||
'Cache-Control': 'no-cache'
|
||||
return json(
|
||||
{
|
||||
status: 'healthy',
|
||||
timestamp: new Date().toISOString(),
|
||||
service: 'aether-app-sveltekit',
|
||||
node_env: process.env.NODE_ENV || 'development'
|
||||
},
|
||||
{
|
||||
headers: {
|
||||
'Cache-Control': 'no-cache'
|
||||
}
|
||||
}
|
||||
});
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user