import { json } from '@sveltejs/kit';
import type { RequestHandler } from './$types';

export const GET: RequestHandler = async () => {
    return json(
        {
            status: 'healthy',
            service: 'aether-app-sveltekit',
            version: __BUILD_VERSION__,
            build_time: __BUILD_TIME__,
            node_env: process.env.NODE_ENV || 'development'
        },
        {
            headers: {
                'Cache-Control': 'no-cache'
            }
        }
    );
};
