import { html, page } from "./lib/http.mjs"; export const routes = [ { method: "GET", path: "/healthz", handler: ({ res }) => { res.writeHead(200, { "content-type": "text/plain; charset=utf-8" }); res.end("ok"); }, }, { method: "GET", path: "/", handler: ({ res }) => html(res, page("Продукт создаётся", "
Скоро здесь будет сайт.
")), }, ];