initial commit

This commit is contained in:
Hunter
2026-11-01 13:23:44 -05:00
commit e03ea4f770
53 changed files with 10802 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
import { route } from "@/lib/http";
import { servePublic } from "@/lib/files";
export const dynamic = "force-dynamic";
/** Post bodies link images as /img/...; serve those from the site's public/
* so absolute links resolve in the preview exactly as on the live site. */
export const GET = route<{ params: Promise<{ path: string[] }> }>(async (_req, { params }) =>
servePublic(["img", ...(await params).path])
);