Skip to main content
Module

x/fastro/examples/static_file_string.ts

Full Stack Framework for Deno, TypeScript, Preact JS and Tailwind CSS
Latest
File
import fastro from "$fastro/mod.ts";
const f = new fastro();
f.static("/static", { folder: "static", maxAge: 90 });
await f.serve();