5 lines
151 B
TypeScript
5 lines
151 B
TypeScript
import type { HandlerFn } from "@paulaboks/sweet";
|
|
|
|
export const handler: HandlerFn<null, { text: string }> = (ctx) =>
|
|
new Response(ctx.state.text);
|