first commit

This commit is contained in:
2026-07-12 15:55:18 +05:30
commit ee98026cc5
404 changed files with 44522 additions and 0 deletions
@@ -0,0 +1,6 @@
import { requestLogger } from "@wrnexus/core";
import { env } from "../env.ts"; // validated at startup (throws on misconfiguration)
// Structured request logging: pretty in dev, JSON in production. Runs before
// every page and API route; the request id is stored on ctx.locals.requestId.
export default requestLogger({ format: env.NODE_ENV === "production" ? "json" : "pretty" });