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,5 +1,6 @@
|
||||
/// <reference no-default-lib="true" />
|
||||
/// <reference lib="dom" />
|
||||
/// <reference lib="dom.asynciterable" />
|
||||
/// <reference lib="deno.ns" />
|
||||
/// <reference lib="deno.unstable" />
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { start } from "../server.ts";
|
||||
import routes from "./routes.gen.ts";
|
||||
|
||||
start(routes);
|
||||
await start(routes);
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
Reference in New Issue
Block a user