feat: add static file support (#58)
This commit adds support for serving static files. Static can be placed into the `/static` directory (as a sibling of the `/pages` directory).
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { start } from "../server.ts";
|
||||
import routes from "./routes.gen.ts";
|
||||
|
||||
start(routes);
|
||||
await start(routes);
|
||||
|
||||
Reference in New Issue
Block a user