Files
opencode/cloud/web/src/entry-server.tsx
2025-08-08 13:24:32 -04:00

8 lines
225 B
TypeScript

import { renderToStringAsync } from "solid-js/web"
import { App } from "./app"
export async function render(props: { url: string }) {
const app = await renderToStringAsync(() => <App url={props.url} />)
return { app }
}