import { REACT_TODO_LIST_CONTENTS } from "https://esm.town/v/root/REACT_TODO_LIST_CONTENTS";
import { addReactFromValCDN } from "https://esm.town/v/root/addReactFromValCDN";
import { buildHtml } from "https://esm.town/v/root/buildHtml";
export function reactTodoListWebsite(req, res) {
console.log(res);
res.set("Content-Type", "text/html");
res.send(buildHtml({
scripts: [addReactFromValCDN()],
styles: REACT_TODO_LIST_CONTENTS.styles,
body: REACT_TODO_LIST_CONTENTS.body,
}));
}