mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-15 05:45:01 +01:00
wip: gateway
This commit is contained in:
7
cloud/web/src/entry-server.tsx
Normal file
7
cloud/web/src/entry-server.tsx
Normal file
@@ -0,0 +1,7 @@
|
||||
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 }
|
||||
}
|
||||
Reference in New Issue
Block a user