You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
320 B
TypeScript

import html from "../../html";
import { BaseContext } from "koa";
import { Readable } from "stream";
import { tempstream } from "tempstream";
export function MainView(ctx: BaseContext): Readable {
return html(
ctx,
"",
tempstream/* HTML */ `
<title>My Own ToDo App</title>
<h1>Sealious App</h1>
`
);
}