7 lines
208 B
TypeScript
7 lines
208 B
TypeScript
import { json } from '@sveltejs/kit';
|
|
import type { RequestHandler } from './$types';
|
|
|
|
export const GET: RequestHandler = async () => {
|
|
return json({ status: 'ok', timestamp: new Date().toISOString() });
|
|
};
|