9 lines
291 B
TypeScript
9 lines
291 B
TypeScript
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 });
|
|
}; |