/** Hello, world, served through the `ingress` it was created with. */ export const buildRootObject = ({ E, Far }, { ingress }) => { const handler = Far("helloHandler", { handle: ({ path }) => ({ status: 200, headers: { "content-type": "text/html; charset=utf-8" }, body: `hello

Hello, world

from a toybox vat, at ${path}

\n`, }), }); E(ingress).serve(handler); return Far("helloRoot", {}); };