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
| 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 | } |