Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
9 lines
228 B
TypeScript
9 lines
228 B
TypeScript
import { App, staticFiles } from "@fresh/core";
|
|
|
|
export const app = new App({ basePath: "/ui" })
|
|
.use(staticFiles())
|
|
.get("/", () =>
|
|
new Response("<h1>ok</h1>", {
|
|
headers: { "Content-Type": "text/html" },
|
|
}));
|