import { Handlers, PageProps } from "$fresh/server.ts"; import { PluginMiddlewareState } from "../../utils/route-plugin.ts"; export const handler: Handlers = { async GET(_req, ctx) { const resp = await ctx.render(); return resp; }, }; export default function Home(props: PageProps) { const value = props.state.num; return (

{value}

); }