Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/fastro/examples/static_file_string.ts

The Web Framework for Full Stack Apps
Go to Latest
File
import fastro from "../mod.ts";
const f = new fastro();
f.static("/static", { folder: "static", maxAge: 90 });
await f.serve();