9 lines
291 B
TypeScript
Raw Normal View History

import { EndpointManagerApp } from "$lib/server/classes/endpoints/endpoint-manager";
import { type RequestHandler, error, json } from "@sveltejs/kit";
export const GET: RequestHandler = async ({}) => {
let status = await EndpointManagerApp.getStatus();
return json({ status });
};