Skip to main content
Module

x/fastro/examples/response_html.ts

Fast and simple web application framework for deno
Go to Latest
File
import application, { response } from "../server/mod.ts"
const app = application()
app.get("/", () => response().html("<h2>Hello world</h2"))
console.log("Listening on: http://localhost:8000")
await app.serve()