9 lines
233 B
TypeScript
9 lines
233 B
TypeScript
import { App, staticFiles } from "@paulaboks/sweet";
|
|
|
|
export const app = new App({ basePath: "/ui" })
|
|
.use(staticFiles())
|
|
.get("/", () =>
|
|
new Response("<h1>ok</h1>", {
|
|
headers: { "Content-Type": "text/html" },
|
|
}));
|