Page MenuHomeSealhub

main-view.ts
No OneTemporary

main-view.ts

import html from "../../html.js";
import type { BaseContext } from "koa";
import type { 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>
`
);
}

File Metadata

Mime Type
text/html
Expires
Fri, Nov 22, 20:17 (18 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
547746
Default Alt Text
main-view.ts (333 B)

Event Timeline