Public
Back
Version 5
8/24/2023
export const curveMinusServer = async (req: Request) => {
const { Hono } = await import("npm:hono");
const app = new Hono();
app.get("/calc", (c) => {
const x = parseFloat(String(c.get("x")));
console.log(x);
const y = x; // @me.curveMinus(x);
return c.json({ result: y });
});
app.get("/manifest", (c) => c.text("das manifest..."));
return app.fetch(req);
};
Updated: October 23, 2023