- Full-featured monitoring dashboard for local web apps - Real-time status tracking with uptime percentages - Visual sparklines for status history - Add/Edit/Delete apps dynamically - Categories and color coding - Auto-refresh every 30 seconds - API endpoints for apps and status management
5 lines
375 B
TypeScript
5 lines
375 B
TypeScript
import type { ProxyFetchRequest, ProxyResponse } from './types';
|
|
export type FetchHandlerResult = Response | 'abort' | 'continue' | null | undefined;
|
|
export type FetchHandler = (testData: string, request: Request) => FetchHandlerResult | Promise<FetchHandlerResult>;
|
|
export declare function handleFetch(req: ProxyFetchRequest, onFetch: FetchHandler): Promise<ProxyResponse>;
|