@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 06:00 UTC

main
tsx 8 lines 313 Bytes
Raw
1 /// <reference types="@vitejs/plugin-rsc/types" />
2 import { fetchServer } from "./entry.rsc";
3
4 export default async function handler(request: Request) {
5 const ssr = await import.meta.viteRsc.loadModule<typeof import("./entry.ssr")>("ssr", "index");
6
7 return ssr.default(request, await fetchServer(request));
8 }